--- a/components/jsl/Makefile Tue Oct 21 02:05:30 2014 -0700
+++ b/components/jsl/Makefile Tue Oct 21 12:20:30 2014 -0700
@@ -54,6 +54,10 @@
COMPONENT_INSTALL_ARGS += INSTALL="$(INSTALL)"
COMPONENT_INSTALL_ARGS += MKDIR="$(MKDIR)"
+COMPONENT_TEST_DIR = $(COMPONENT_SRC)/tests
+COMPONENT_TEST_CMD = $(PERL) ./run_tests.pl
+COMPONENT_TEST_TARGETS = $(PROTOUSRBINDIR64)/jsl
+
# Enable ASLR for this component
ASLR_MODE = $(ASLR_ENABLE)
@@ -61,8 +65,7 @@
install: $(INSTALL_64)
-test:
- cd $(COMPONENT_SRC)/tests; $(PERL) ./run_tests.pl $(PROTOUSRBINDIR64)/jsl
+test: install $(TEST_64)
BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)