diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2003-06-16T21·01+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2003-06-16T21·01+0000 |
commit | c739e2058560ad018dcf68e16fa683ca404d548c (patch) | |
tree | cd7b5f89850ee9c1179840f839f8e23cea8e59b5 /src/test.cc | |
parent | 727beb798a701ff546adc65030f1562b87283947 (diff) |
* Argument processing.
Diffstat (limited to 'src/test.cc')
-rw-r--r-- | src/test.cc | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/src/test.cc b/src/test.cc index b37a16a1fe0c..bf7ee191f0b7 100644 --- a/src/test.cc +++ b/src/test.cc @@ -74,13 +74,18 @@ void runTests() Hash builder1 = addValue("./test-builder-1.sh"); - evalTest(ATmake("Exec(Str(<str>), External(<str>), [])", - thisSystem.c_str(), ((string) builder1).c_str())); + Expr e1 = ATmake("Exec(Str(<str>), External(<str>), [])", + thisSystem.c_str(), ((string) builder1).c_str()); + + evalTest(e1); Hash builder2 = addValue("./test-builder-2.sh"); - evalTest(ATmake("Exec(Str(<str>), External(<str>), [])", - thisSystem.c_str(), ((string) builder2).c_str())); + Expr e2 = ATmake( + "Exec(Str(<str>), External(<str>), [Tup(Str(\"src\"), <term>)])", + thisSystem.c_str(), ((string) builder2).c_str(), e1); + + evalTest(e2); } |