diff options
author | Vikas Rangarajan <vikas@vikas-linux.tva.tvworks.com> | 2010-03-23 12:31:32 -0700 |
---|---|---|
committer | Vikas Rangarajan <vikas@vikas-linux.tva.tvworks.com> | 2010-03-23 12:31:32 -0700 |
commit | cf6891934297c51cd12bac3278b6e59df5e42f06 (patch) | |
tree | 2de4867e2894d4c12c7c274f353737e7eea2dd93 /src/test/java/net | |
parent | 8e6ef7c8c3b8417c0d6ea4aae220b029977c2d34 (diff) | |
download | cpptasks-parallel-cf6891934297c51cd12bac3278b6e59df5e42f06.tar.gz cpptasks-parallel-cf6891934297c51cd12bac3278b6e59df5e42f06.tar.bz2 cpptasks-parallel-cf6891934297c51cd12bac3278b6e59df5e42f06.tar.xz cpptasks-parallel-cf6891934297c51cd12bac3278b6e59df5e42f06.zip |
Initial merge of local changes with master, main changes :
- Distinguish between system and non-system headers for compilers that support it (g++)
- only recurse dependencies for direct includes of current source
Diffstat (limited to 'src/test/java/net')
-rw-r--r-- | src/test/java/net/sf/antcontrib/cpptasks/TestCompilerDef.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/test/java/net/sf/antcontrib/cpptasks/TestCompilerDef.java b/src/test/java/net/sf/antcontrib/cpptasks/TestCompilerDef.java index 017dc02..53a64dd 100644 --- a/src/test/java/net/sf/antcontrib/cpptasks/TestCompilerDef.java +++ b/src/test/java/net/sf/antcontrib/cpptasks/TestCompilerDef.java @@ -279,9 +279,10 @@ public final class TestCompilerDef SystemIncludePath path = baseCompiler.createSysIncludePath(); path.setPath("/tmp"); String[] preArgs = getPreArguments(extendedCompiler); + System.out.println("Class: " + baseCompiler + " and: " + extendedCompiler); // BEGINFREEHEP, passes extra option assertEquals(3, preArgs.length); - assertEquals("-I", preArgs[2].substring(0, 2)); + assertEquals("-isystem", preArgs[2].substring(0, 8)); // ENDFREEHEP } |