head merge RCL_2_4
authorfturovic <frank.turovich@nokia.com>
Mon, 18 Jan 2010 14:06:57 -0600
branchRCL_2_4
changeset 785 ce19c6e825a9
parent 784 a4131d1d5bfa (current diff)
parent 783 0384a72364f6 (diff)
child 786 86c3b9a58e5c
head merge
--- a/builder/com.nokia.carbide.cdt.builder/src/com/nokia/carbide/cdt/internal/builder/CarbideSBSv1Builder.java	Mon Jan 18 14:05:55 2010 -0600
+++ b/builder/com.nokia.carbide.cdt.builder/src/com/nokia/carbide/cdt/internal/builder/CarbideSBSv1Builder.java	Mon Jan 18 14:06:57 2010 -0600
@@ -1938,6 +1938,11 @@
 
 	protected boolean runMMPChangeCheck(final ICarbideBuildConfiguration buildConfig, IPath componentPath, boolean isTest, final CarbideCommandLauncher launcher) {
 
+		// don't worry about it for tests
+		if (WorkbenchUtils.isJUnitRunning()) {
+			return true;
+		}
+		
 		// ignore this for Qt projects since the mmp will be regenerated before each build.
 		final IProject project = buildConfig.getCarbideProject().getProject();
 		try {
@@ -1973,6 +1978,11 @@
 	
 	protected boolean runMMPChangeCheck(final ICarbideBuildConfiguration buildConfig, List<IPath> normalMakMakePaths, List<IPath> testMakMakePaths, final CarbideCommandLauncher launcher) {
 
+		// don't worry about it for tests
+		if (WorkbenchUtils.isJUnitRunning()) {
+			return true;
+		}
+		
 		// ignore this for Qt projects since the mmp will be regenerated before each build.
 		final IProject project = buildConfig.getCarbideProject().getProject();
 		try {