| OLD | NEW |
| 1 # -*- python -*- | 1 # -*- python -*- |
| 2 # Copyright (c) 2011 The Native Client Authors. All rights reserved. | 2 # Copyright (c) 2011 The Native Client Authors. All rights reserved. |
| 3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
| 4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
| 5 | 5 |
| 6 import atexit | 6 import atexit |
| 7 import glob | 7 import glob |
| 8 import os | 8 import os |
| 9 import platform | 9 import platform |
| 10 import stat | 10 import stat |
| (...skipping 1199 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1210 | 1210 |
| 1211 pre_base_env.AddMethod(PPAPIBrowserTester) | 1211 pre_base_env.AddMethod(PPAPIBrowserTester) |
| 1212 | 1212 |
| 1213 | 1213 |
| 1214 # Disabled for ARM because Chrome binaries for ARM are not available. | 1214 # Disabled for ARM because Chrome binaries for ARM are not available. |
| 1215 def PPAPIBrowserTesterIsBroken(env): | 1215 def PPAPIBrowserTesterIsBroken(env): |
| 1216 return env.Bit('target_arm') | 1216 return env.Bit('target_arm') |
| 1217 | 1217 |
| 1218 pre_base_env.AddMethod(PPAPIBrowserTesterIsBroken) | 1218 pre_base_env.AddMethod(PPAPIBrowserTesterIsBroken) |
| 1219 | 1219 |
| 1220 # 3D disabled for arm, newlib & pnacl |
| 1221 def PPAPIGraphics3DIsBroken(env): |
| 1222 return (env.Bit('target_arm') or |
| 1223 not env.Bit('nacl_glibc') or |
| 1224 env.Bit('bitcode')) |
| 1225 |
| 1226 pre_base_env.AddMethod(PPAPIGraphics3DIsBroken) |
| 1227 |
| 1220 | 1228 |
| 1221 def PyAutoTester(env, target, test, files=[], log_verbosity=2, | 1229 def PyAutoTester(env, target, test, files=[], log_verbosity=2, |
| 1222 extra_chrome_flags=[], args=[]): | 1230 extra_chrome_flags=[], args=[]): |
| 1223 if 'TRUSTED_ENV' not in env: | 1231 if 'TRUSTED_ENV' not in env: |
| 1224 return [] | 1232 return [] |
| 1225 | 1233 |
| 1226 env = env.Clone() | 1234 env = env.Clone() |
| 1227 SetupBrowserEnv(env) | 1235 SetupBrowserEnv(env) |
| 1228 extra_deps = files + [env.ChromeBinary()] | 1236 extra_deps = files + [env.ChromeBinary()] |
| 1229 | 1237 |
| (...skipping 1501 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2731 'tests/nacl.scons', | 2739 'tests/nacl.scons', |
| 2732 'tests/ppapi/nacl.scons', | 2740 'tests/ppapi/nacl.scons', |
| 2733 'tests/ppapi_browser/bad/nacl.scons', | 2741 'tests/ppapi_browser/bad/nacl.scons', |
| 2734 'tests/ppapi_browser/crash/nacl.scons', | 2742 'tests/ppapi_browser/crash/nacl.scons', |
| 2735 'tests/ppapi_browser/extension_mime_handler/nacl.scons', | 2743 'tests/ppapi_browser/extension_mime_handler/nacl.scons', |
| 2736 'tests/ppapi_browser/manifest/nacl.scons', | 2744 'tests/ppapi_browser/manifest/nacl.scons', |
| 2737 'tests/ppapi_browser/ppb_core/nacl.scons', | 2745 'tests/ppapi_browser/ppb_core/nacl.scons', |
| 2738 'tests/ppapi_browser/ppb_dev/nacl.scons', | 2746 'tests/ppapi_browser/ppb_dev/nacl.scons', |
| 2739 'tests/ppapi_browser/ppb_file_system/nacl.scons', | 2747 'tests/ppapi_browser/ppb_file_system/nacl.scons', |
| 2740 'tests/ppapi_browser/ppb_graphics2d/nacl.scons', | 2748 'tests/ppapi_browser/ppb_graphics2d/nacl.scons', |
| 2749 'tests/ppapi_browser/ppb_graphics3d/nacl.scons', |
| 2741 'tests/ppapi_browser/ppb_image_data/nacl.scons', | 2750 'tests/ppapi_browser/ppb_image_data/nacl.scons', |
| 2742 'tests/ppapi_browser/ppb_instance/nacl.scons', | 2751 'tests/ppapi_browser/ppb_instance/nacl.scons', |
| 2743 'tests/ppapi_browser/ppb_memory/nacl.scons', | 2752 'tests/ppapi_browser/ppb_memory/nacl.scons', |
| 2744 'tests/ppapi_browser/ppb_pdf/nacl.scons', | 2753 'tests/ppapi_browser/ppb_pdf/nacl.scons', |
| 2745 'tests/ppapi_browser/ppb_scrollbar/nacl.scons', | 2754 'tests/ppapi_browser/ppb_scrollbar/nacl.scons', |
| 2746 'tests/ppapi_browser/ppb_url_loader/nacl.scons', | 2755 'tests/ppapi_browser/ppb_url_loader/nacl.scons', |
| 2747 'tests/ppapi_browser/ppb_url_request_info/nacl.scons', | 2756 'tests/ppapi_browser/ppb_url_request_info/nacl.scons', |
| 2748 'tests/ppapi_browser/ppb_var/nacl.scons', | 2757 'tests/ppapi_browser/ppb_var/nacl.scons', |
| 2749 'tests/ppapi_browser/ppb_widget/nacl.scons', | 2758 'tests/ppapi_browser/ppb_widget/nacl.scons', |
| 2750 'tests/ppapi_browser/ppp_input_event/nacl.scons', | 2759 'tests/ppapi_browser/ppp_input_event/nacl.scons', |
| 2751 'tests/ppapi_browser/ppp_instance/nacl.scons', | 2760 'tests/ppapi_browser/ppp_instance/nacl.scons', |
| 2752 'tests/ppapi_browser/progress_events/nacl.scons', | 2761 'tests/ppapi_browser/progress_events/nacl.scons', |
| 2753 'tests/ppapi_browser/stress_many_nexes/nacl.scons', | 2762 'tests/ppapi_browser/stress_many_nexes/nacl.scons', |
| 2754 'tests/ppapi_example_2d/nacl.scons', | 2763 'tests/ppapi_example_2d/nacl.scons', |
| 2755 'tests/ppapi_example_audio/nacl.scons', | 2764 'tests/ppapi_example_audio/nacl.scons', |
| 2756 'tests/ppapi_example_events/nacl.scons', | 2765 'tests/ppapi_example_events/nacl.scons', |
| 2757 'tests/ppapi_example_font/nacl.scons', | 2766 'tests/ppapi_example_font/nacl.scons', |
| 2758 # TODO(dspringer): re-enable these once the 3D ABI has stabilized. See | 2767 # TODO(dspringer): re-enable test once the 3D ABI has stabilized. See |
| 2759 # http://code.google.com/p/nativeclient/issues/detail?id=2060 | 2768 # http://code.google.com/p/nativeclient/issues/detail?id=2060» |
| 2760 # 'tests/ppapi_example_gles2/nacl.scons', | 2769 # 'tests/ppapi_example_gles2/nacl.scons', |
| 2761 'tests/ppapi_example_post_message/nacl.scons', | 2770 'tests/ppapi_example_post_message/nacl.scons', |
| 2762 'tests/ppapi_geturl/nacl.scons', | 2771 'tests/ppapi_geturl/nacl.scons', |
| 2763 # TODO(dspringer): re-enable these once the 3D ABI has stabilized. See | 2772 'tests/ppapi_gles_book/nacl.scons', |
| 2764 # http://code.google.com/p/nativeclient/issues/detail?id=2060 | |
| 2765 # 'tests/ppapi_gles_book/nacl.scons', | |
| 2766 'tests/ppapi_messaging/nacl.scons', | 2773 'tests/ppapi_messaging/nacl.scons', |
| 2767 | 2774 |
| 2768 'tests/ppapi_simple_tests/nacl.scons', | 2775 'tests/ppapi_simple_tests/nacl.scons', |
| 2769 'tests/ppapi_test_example/nacl.scons', | 2776 'tests/ppapi_test_example/nacl.scons', |
| 2770 'tests/ppapi_test_lib/nacl.scons', | 2777 'tests/ppapi_test_lib/nacl.scons', |
| 2771 'tests/ppapi_tests/nacl.scons', | 2778 'tests/ppapi_tests/nacl.scons', |
| 2772 'tests/pyauto_nacl/nacl.scons', | 2779 'tests/pyauto_nacl/nacl.scons', |
| 2773 'tests/unittests/shared/imc/nacl.scons', | 2780 'tests/unittests/shared/imc/nacl.scons', |
| 2774 'tests/unittests/shared/srpc/nacl.scons', | 2781 'tests/unittests/shared/srpc/nacl.scons', |
| 2775 #### ALPHABETICALLY SORTED #### | 2782 #### ALPHABETICALLY SORTED #### |
| (...skipping 440 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3216 nacl_env.ValidateSdk() | 3223 nacl_env.ValidateSdk() |
| 3217 | 3224 |
| 3218 if BROKEN_TEST_COUNT > 0: | 3225 if BROKEN_TEST_COUNT > 0: |
| 3219 msg = "There are %d broken tests." % BROKEN_TEST_COUNT | 3226 msg = "There are %d broken tests." % BROKEN_TEST_COUNT |
| 3220 if GetOption('brief_comstr'): | 3227 if GetOption('brief_comstr'): |
| 3221 msg += " Add --verbose to the command line for more information." | 3228 msg += " Add --verbose to the command line for more information." |
| 3222 print msg | 3229 print msg |
| 3223 | 3230 |
| 3224 # separate warnings from actual build output | 3231 # separate warnings from actual build output |
| 3225 Banner('B U I L D - O U T P U T:') | 3232 Banner('B U I L D - O U T P U T:') |
| OLD | NEW |