make-rules/shared-macros.mk
changeset 3750 60902b5c3237
parent 3747 d2f2bcf116e8
child 3817 30b42c38bbc4
--- a/make-rules/shared-macros.mk	Fri Feb 06 16:50:21 2015 -0800
+++ b/make-rules/shared-macros.mk	Fri Feb 06 21:18:26 2015 -0800
@@ -262,6 +262,9 @@
                 	>> $(COMPONENT_TEST_TRANSFORM_CMD); \
         	print '> $(COMPONENT_TEST_SNAPSHOT)' \
                 	>> $(COMPONENT_TEST_TRANSFORM_CMD); \
+	else \
+		print 'Cannot find $(COMPONENT_TEST_MASTER)'; \
+		exit 2; \
 	fi
 
 # set the default command for performing any test result munging
@@ -272,6 +275,9 @@
 	if [ -e $(COMPONENT_TEST_MASTER) ]; \
 	then \
 		$(SHELL) $(COMPONENT_TEST_TRANSFORM_CMD); \
+	else \
+		print 'Cannot find $(COMPONENT_TEST_MASTER)'; \
+		exit 2; \
 	fi
 
 # set the default command used to compare the master results with the snapshot
@@ -293,6 +299,9 @@
 		else \
 			print "No differences found."; \
 		fi \
+	else \
+		print 'Cannot find $(COMPONENT_TEST_MASTER)'; \
+		exit 2; \
 	fi
 
 # set the default env command to use for test of the component