| OLD | NEW |
| 1 # Copyright (C) 2010 Google Inc. All rights reserved. | 1 # Copyright (C) 2010 Google Inc. All rights reserved. |
| 2 # | 2 # |
| 3 # Redistribution and use in source and binary forms, with or without | 3 # Redistribution and use in source and binary forms, with or without |
| 4 # modification, are permitted provided that the following conditions are | 4 # modification, are permitted provided that the following conditions are |
| 5 # met: | 5 # met: |
| 6 # | 6 # |
| 7 # * Redistributions of source code must retain the above copyright | 7 # * Redistributions of source code must retain the above copyright |
| 8 # notice, this list of conditions and the following disclaimer. | 8 # notice, this list of conditions and the following disclaimer. |
| 9 # * Redistributions in binary form must reproduce the above | 9 # * Redistributions in binary form must reproduce the above |
| 10 # copyright notice, this list of conditions and the following disclaimer | 10 # copyright notice, this list of conditions and the following disclaimer |
| (...skipping 489 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 500 def stop_websocket_server(self): | 500 def stop_websocket_server(self): |
| 501 pass | 501 pass |
| 502 | 502 |
| 503 def release_http_lock(self): | 503 def release_http_lock(self): |
| 504 pass | 504 pass |
| 505 | 505 |
| 506 def path_to_apache(self): | 506 def path_to_apache(self): |
| 507 return "/usr/sbin/httpd" | 507 return "/usr/sbin/httpd" |
| 508 | 508 |
| 509 def path_to_apache_config_file(self): | 509 def path_to_apache_config_file(self): |
| 510 return self._filesystem.join(self.layout_tests_dir(), 'http', 'conf', 'h
ttpd.conf') | 510 return self._filesystem.join(self.apache_config_directory(), 'httpd.conf
') |
| 511 | 511 |
| 512 def path_to_generic_test_expectations_file(self): | 512 def path_to_generic_test_expectations_file(self): |
| 513 return self._generic_expectations_path | 513 return self._generic_expectations_path |
| 514 | 514 |
| 515 def all_test_configurations(self): | 515 def all_test_configurations(self): |
| 516 """Returns a sequence of the TestConfigurations the port supports.""" | 516 """Returns a sequence of the TestConfigurations the port supports.""" |
| 517 # By default, we assume we want to test every graphics type in | 517 # By default, we assume we want to test every graphics type in |
| 518 # every configuration on every system. | 518 # every configuration on every system. |
| 519 test_configurations = [] | 519 test_configurations = [] |
| 520 for version, architecture in self.all_systems: | 520 for version, architecture in self.all_systems: |
| (...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 628 else: | 628 else: |
| 629 image = test.actual_image | 629 image = test.actual_image |
| 630 return DriverOutput(actual_text, image, test.actual_checksum, audio, | 630 return DriverOutput(actual_text, image, test.actual_checksum, audio, |
| 631 crash=(crash or web_process_crash), crashed_process_
name=crashed_process_name, | 631 crash=(crash or web_process_crash), crashed_process_
name=crashed_process_name, |
| 632 crashed_pid=crashed_pid, crash_log=crash_log, | 632 crashed_pid=crashed_pid, crash_log=crash_log, |
| 633 test_time=time.time() - start_time, timeout=test.tim
eout, error=test.error, pid=self.pid, | 633 test_time=time.time() - start_time, timeout=test.tim
eout, error=test.error, pid=self.pid, |
| 634 leak=test.leak) | 634 leak=test.leak) |
| 635 | 635 |
| 636 def stop(self): | 636 def stop(self): |
| 637 self.started = False | 637 self.started = False |
| OLD | NEW |