| OLD | NEW |
| 1 # Copyright 2008, Google Inc. | 1 # Copyright 2008, Google Inc. |
| 2 # All rights reserved. | 2 # All rights reserved. |
| 3 # | 3 # |
| 4 # Redistribution and use in source and binary forms, with or without | 4 # Redistribution and use in source and binary forms, with or without |
| 5 # modification, are permitted provided that the following conditions are | 5 # modification, are permitted provided that the following conditions are |
| 6 # met: | 6 # met: |
| 7 # | 7 # |
| 8 # * Redistributions of source code must retain the above copyright | 8 # * Redistributions of source code must retain the above copyright |
| 9 # notice, this list of conditions and the following disclaimer. | 9 # notice, this list of conditions and the following disclaimer. |
| 10 # * Redistributions in binary form must reproduce the above | 10 # * Redistributions in binary form must reproduce the above |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 45 LINKFLAGS=LDFLAGS, | 45 LINKFLAGS=LDFLAGS, |
| 46 ) | 46 ) |
| 47 | 47 |
| 48 # Check that all the libraries were installed, a simple test builds and links. | 48 # Check that all the libraries were installed, a simple test builds and links. |
| 49 env.ComponentProgram('libs_present_test.nexe', | 49 env.ComponentProgram('libs_present_test.nexe', |
| 50 ['libs_present_test.cc', | 50 ['libs_present_test.cc', |
| 51 'libs_present_stub.cc', | 51 'libs_present_stub.cc', |
| 52 'npp_gate.c'], | 52 'npp_gate.c'], |
| 53 # This list should include all the libraries published | 53 # This list should include all the libraries published |
| 54 # into the SDK. | 54 # into the SDK. |
| 55 LIBS=['m', | 55 LIBS=['c', |
| 56 'm', |
| 57 'nacl', |
| 56 'av', | 58 'av', |
| 57 'pthread', | 59 'pthread', |
| 58 'srpc', | 60 'srpc', |
| 59 'google_nacl_imc', | 61 'google_nacl_imc', |
| 60 'google_nacl_npruntime', | 62 'google_nacl_npruntime', |
| 61 'nosys']) | 63 'nosys']) |
| 62 | 64 |
| 63 # Check that GDB can print backtrace. | 65 # Check that GDB can print backtrace. |
| 64 env.ComponentProgram('hello_world_gdb.nexe', | 66 env.ComponentProgram('hello_world_gdb.nexe', |
| 65 'hello_world_gdb.c') | 67 'hello_world_gdb.c') |
| (...skipping 22 matching lines...) Expand all Loading... |
| 88 print ('WARNING: no trusted env specified so skipping toolchain test. ' | 90 print ('WARNING: no trusted env specified so skipping toolchain test. ' |
| 89 'Try, e.g. MODE=dbg-linux,nacl') | 91 'Try, e.g. MODE=dbg-linux,nacl') |
| 90 toolchain_test = [] | 92 toolchain_test = [] |
| 91 | 93 |
| 92 # Eventually we may want more SDK tests. | 94 # Eventually we may want more SDK tests. |
| 93 env.AddNodeToTestSuite(['libs_present_test.nexe', toolchain_test], | 95 env.AddNodeToTestSuite(['libs_present_test.nexe', toolchain_test], |
| 94 ['small_tests'], 'sdk_minimal_test') | 96 ['small_tests'], 'sdk_minimal_test') |
| 95 | 97 |
| 96 env.AddNodeToTestSuite(['hello_world_gdb.nexe', gdb_test], | 98 env.AddNodeToTestSuite(['hello_world_gdb.nexe', gdb_test], |
| 97 [], 'gdb_minimal_test') | 99 [], 'gdb_minimal_test') |
| OLD | NEW |