diff options
| author | Steven Knight <knight@baldmt.com> | 2002-07-30 21:56:44 (GMT) |
|---|---|---|
| committer | Steven Knight <knight@baldmt.com> | 2002-07-30 21:56:44 (GMT) |
| commit | f6a8b0fb06ff0cd2d8cf65c936951d814edf8e6e (patch) | |
| tree | 6d2723c4ab3ca5079c3168d6692db50b607f6a6f /test/Repository/multi-dir.py | |
| parent | 855895b97fa7f9d67dfcc41140efbe55bf98f291 (diff) | |
| download | SCons-f6a8b0fb06ff0cd2d8cf65c936951d814edf8e6e.zip SCons-f6a8b0fb06ff0cd2d8cf65c936951d814edf8e6e.tar.gz SCons-f6a8b0fb06ff0cd2d8cf65c936951d814edf8e6e.tar.bz2 | |
Still more Repository tests: CPPPATH, StaticLibrary, linking objects, and compilation within a Repository.
Diffstat (limited to 'test/Repository/multi-dir.py')
| -rw-r--r-- | test/Repository/multi-dir.py | 21 |
1 files changed, 7 insertions, 14 deletions
diff --git a/test/Repository/multi-dir.py b/test/Repository/multi-dir.py index fb8c0e6..9aa2bca 100644 --- a/test/Repository/multi-dir.py +++ b/test/Repository/multi-dir.py @@ -85,26 +85,19 @@ main(int argc, char *argv[]) } """) -# -test.run(chdir = 'repository', arguments = ".") +# Make the repository non-writable, +# so we'll detect if we try to write into it accidentally. +test.writable('repository', 0) -test.run(program = repository_src_xxx, stdout = +test.run(chdir = 'work', options = opts, arguments = ".") + +test.run(program = work_src_xxx, stdout = """repository/include/my_string.h repository/src/include.h repository/src/main.c """) -# Double-check that the Repository is up-to-date. -test.up_to_date(chdir = 'repository', arguments = ".") - -# Make the repository non-writable, -# so we'll detect if we try to write into it accidentally. -test.writable('repository', 0) - -# Because the Repository is completely up-to-date, -# a build in an empty work directory should also be up-to-date. -test.up_to_date(chdir = 'work', options = opts, arguments = ".") - +# test.write(['work', 'include', 'my_string.h'], r""" #define MY_STRING "work/include/my_string.h" """) |
