diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/fixture/SConstruct_test_main.py | 3 | ||||
-rw-r--r-- | test/option/debug-action-timestamps.py | 6 |
2 files changed, 4 insertions, 5 deletions
diff --git a/test/fixture/SConstruct_test_main.py b/test/fixture/SConstruct_test_main.py new file mode 100644 index 0000000..8d2d2b0 --- /dev/null +++ b/test/fixture/SConstruct_test_main.py @@ -0,0 +1,3 @@ +DefaultEnvironment(tools=[]) +env = Environment() +env.Program('main.exe', ['main.c']) diff --git a/test/option/debug-action-timestamps.py b/test/option/debug-action-timestamps.py index 11a4bf5..0277516 100644 --- a/test/option/debug-action-timestamps.py +++ b/test/option/debug-action-timestamps.py @@ -31,11 +31,7 @@ _python_ = TestSCons._python_ def setup_fixtures(): test.file_fixture('../fixture/test_main.c', 'main.c') - test.write('SConstruct', """ -DefaultEnvironment(tools=[]) -env = Environment() -env.Program('main.exe', ['main.c']) -""") + test.file_fixture('../fixture/SConstruct_test_main.py', 'SConstruct') def test_help_function(): # Before anything else, make sure we get valid --debug=action_timestamps results |