--- a/make-rules/attpackagemake.mk Mon Aug 04 15:38:32 2014 -0700
+++ b/make-rules/attpackagemake.mk Mon Aug 04 15:41:55 2014 -0700
@@ -18,7 +18,7 @@
#
# CDDL HEADER END
#
-# Copyright (c) 2012, 2013, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2012, 2014, Oracle and/or its affiliates. All rights reserved.
#
#
# Rules and Macros for building opens source software that uses AT&T's package
@@ -91,7 +91,7 @@
# test the built source
$(BUILD_DIR)/%/.tested: $(BUILD_DIR)/%/.built
$(COMPONENT_PRE_TEST_ACTION)
- cd $(@D); $(ENV) $(COMPONENT_TEST_ENV) \
+ cd $(COMPONENT_TEST_DIR); $(ENV) $(COMPONENT_TEST_ENV) \
bin/package test $(COMPONENT_TEST_TARGETS) \
$(COMPONENT_TEST_ARGS)
$(COMPONENT_POST_TEST_ACTION)