Skip to content

Commit

Permalink
test depend on install
Browse files Browse the repository at this point in the history
  • Loading branch information
matsumotory committed Apr 18, 2014
1 parent 13bb074 commit f3f413c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Makefile.in
Expand Up @@ -44,7 +44,7 @@ mod_mruby.so: $(TARGET)

SYSCONFDIR=$(shell $(APXS) -q SYSCONFDIR)
# test
test:
test: install
cp -p $(SYSCONFDIR)/httpd.conf ./test/conf/httpd.conf.orig
cat ./test/conf/httpd.conf.orig ./test/conf/mod_mruby_test.conf > ./test/conf/httpd.conf
$(APACHECTL) -f $(shell pwd)/test/conf/httpd.conf
Expand Down
3 changes: 1 addition & 2 deletions test.sh
Expand Up @@ -43,8 +43,7 @@ make
echo "mod_mruby building ... Done"

echo "mod_mruby testing ..."
sudo make install
make test
sudo make test
echo "mod_mruby testing ... Done"

echo "build.sh ... successful"

0 comments on commit f3f413c

Please sign in to comment.