Skip to main content
aboutsummaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorLeo Treggiari2005-09-07 13:37:38 +0000
committerLeo Treggiari2005-09-07 13:37:38 +0000
commit3b1a507cc61e76b6a251a6a2bb0ce5014f20f8a7 (patch)
tree8da3e33475039ec2e07ac4910e281ac84e489f6b /build
parent34411d80e6205dd3de0b83b92e673f90400fa201 (diff)
downloadorg.eclipse.cdt-3b1a507cc61e76b6a251a6a2bb0ce5014f20f8a7.tar.gz
org.eclipse.cdt-3b1a507cc61e76b6a251a6a2bb0ce5014f20f8a7.tar.xz
org.eclipse.cdt-3b1a507cc61e76b6a251a6a2bb0ce5014f20f8a7.zip
Additional external dependency calculator test
Diffstat (limited to 'build')
-rw-r--r--build/org.eclipse.cdt.managedbuilder.core.tests/resources/test30Projects/CDTFortranTest2/CDTFortranTest2.zipbin0 -> 18017 bytes
-rw-r--r--build/org.eclipse.cdt.managedbuilder.core.tests/tests/org/eclipse/cdt/managedbuilder/core/tests/ManagedProject30MakefileTests.java15
2 files changed, 15 insertions, 0 deletions
diff --git a/build/org.eclipse.cdt.managedbuilder.core.tests/resources/test30Projects/CDTFortranTest2/CDTFortranTest2.zip b/build/org.eclipse.cdt.managedbuilder.core.tests/resources/test30Projects/CDTFortranTest2/CDTFortranTest2.zip
new file mode 100644
index 00000000000..a6ec951580f
--- /dev/null
+++ b/build/org.eclipse.cdt.managedbuilder.core.tests/resources/test30Projects/CDTFortranTest2/CDTFortranTest2.zip
Binary files differ
diff --git a/build/org.eclipse.cdt.managedbuilder.core.tests/tests/org/eclipse/cdt/managedbuilder/core/tests/ManagedProject30MakefileTests.java b/build/org.eclipse.cdt.managedbuilder.core.tests/tests/org/eclipse/cdt/managedbuilder/core/tests/ManagedProject30MakefileTests.java
index 4e3c1a51aab..dd26b516e94 100644
--- a/build/org.eclipse.cdt.managedbuilder.core.tests/tests/org/eclipse/cdt/managedbuilder/core/tests/ManagedProject30MakefileTests.java
+++ b/build/org.eclipse.cdt.managedbuilder.core.tests/tests/org/eclipse/cdt/managedbuilder/core/tests/ManagedProject30MakefileTests.java
@@ -78,6 +78,7 @@ public class ManagedProject30MakefileTests extends TestCase {
suite.addTest(new ManagedProject30MakefileTests("test30_2"));
suite.addTest(new ManagedProject30MakefileTests("testTopTC"));
suite.addTest(new ManagedProject30MakefileTests("CDTFortranTest1"));
+ suite.addTest(new ManagedProject30MakefileTests("CDTFortranTest2"));
return suite;
}
@@ -556,4 +557,18 @@ public class ManagedProject30MakefileTests extends TestCase {
IProject[] projects = createProjects("CDTFortranTest1", null, null, true);
buildProjects(projects, makefiles);
}
+
+ /* (non-Javadoc)
+ * tests external dependency calculation using Fortran modules
+ */
+ public void CDTFortranTest2(){
+ IPath[] makefiles = {
+ Path.fromOSString("makefile"),
+ Path.fromOSString("objects.mk"),
+ Path.fromOSString("sources.mk"),
+ Path.fromOSString("module/subdir.mk"),
+ Path.fromOSString("sources/subdir.mk")};
+ IProject[] projects = createProjects("CDTFortranTest2", null, null, true);
+ buildProjects(projects, makefiles);
+ }
}

Back to the top