diff options
Diffstat (limited to 'src/tests')
-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" }); } } |