after successfully run, stop apache
[mkws-moved-to-github.git] / test / Makefile
index 2bb32dd..125efa7 100644 (file)
@@ -46,7 +46,8 @@ test: check
 terse:
        $(MIKE) jasmine-node --noColor --captureExceptions --forceexit spec
 
-phantomjs p: apache-stop apache-start _phantomjs apache-stop
+phantomjs p: apache-stop apache-start _phantomjs 
+       ${MAKE} apache-stop
 
 _phantomjs:
        ./bin/bomb.pl --timeout="${PHANTOMJS_TIMEOUT}.5" ${PHANTOMJS} phantom/run-jasmine.js ${PHANTOMJS_URL} ${PHANTOMJS_TIMEOUT}