diff options
author | Shevek <[email protected]> | 2008-05-08 19:33:22 +0000 |
---|---|---|
committer | Shevek <[email protected]> | 2008-05-08 19:33:22 +0000 |
commit | e38a59d3a0c51ee5548ea070945cb18f9aef45a7 (patch) | |
tree | 61d1315b3d46f41c18b779ae784b204fbd758395 /src/tests/org/anarres/cpp | |
parent | 8247b6760685ab26fd518ea0ef13601587aad0f2 (diff) |
fix more to spec
Diffstat (limited to 'src/tests/org/anarres/cpp')
-rw-r--r-- | src/tests/org/anarres/cpp/CppReaderTestCase.java | 2 | ||||
-rw-r--r-- | src/tests/org/anarres/cpp/MainTestCase.java | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/tests/org/anarres/cpp/CppReaderTestCase.java b/src/tests/org/anarres/cpp/CppReaderTestCase.java index 6097436..92ade21 100644 --- a/src/tests/org/anarres/cpp/CppReaderTestCase.java +++ b/src/tests/org/anarres/cpp/CppReaderTestCase.java @@ -14,7 +14,7 @@ public class CppReaderTestCase extends BaseTestCase implements Test { System.out.println("Testing " + in + " => " + out); StringReader r = new StringReader(in); CppReader p = new CppReader(r); - p.getPreprocessor().setIncludePath( + p.getPreprocessor().setSystemIncludePath( Collections.singletonList("src/input") ); p.getPreprocessor().getFeatures().add(Feature.LINEMARKERS); diff --git a/src/tests/org/anarres/cpp/MainTestCase.java b/src/tests/org/anarres/cpp/MainTestCase.java index a42f3d2..313a463 100644 --- a/src/tests/org/anarres/cpp/MainTestCase.java +++ b/src/tests/org/anarres/cpp/MainTestCase.java @@ -9,7 +9,7 @@ import static org.anarres.cpp.Token.*; public class MainTestCase extends BaseTestCase { public void testMain() throws Exception { - Main.main(new String[] { "-V" }); + Main.main(new String[] { "--version" }); } } |