Permalink
Browse files

small fixes

  • Loading branch information...
1 parent 74c2040 commit c2b2aa44b5d3d0ceb023ca496c85679e5824d029 Damien Krotkine committed Sep 23, 2012
Showing with 3 additions and 2 deletions.
  1. +3 −2 tools/plugins_auto_tests/Makefile
@@ -2,7 +2,7 @@
HERE=${PWD}
PERLBREW_DIR=${HERE}/perlbrew
-PERLBREW=export PERLBREW_ROOT=${PERLBREW_DIR} && source ${PERLBREW_DIR}/etc/bashrc && PERLBREW_ROOT=${PERLBREW_DIR} ${PERLBREW_DIR}/bin/perlbrew
+PERLBREW=export PERLBREW_ROOT=${PERLBREW_DIR} && PERLBREW_ROOT=${PERLBREW_DIR} ${PERLBREW_DIR}/bin/perlbrew
CPANM_DANCER1=${PERLBREW} exec --with dancer1_plugin_tests ${PERLBREW_DIR}/bin/cpanm
CPANM_DANCER2=${PERLBREW} exec --with dancer2_plugin_tests ${PERLBREW_DIR}/bin/cpanm
@@ -12,7 +12,7 @@ all: got_curl got_bash got_perlbrew_perl plugins_list
echo " ---------- TESTING on Dancer 1 : $$i"; \
${CPANM_DANCER1} -n --installdeps $$i && ${CPANM_DANCER1} --test-only $$i && pass_d1=1; \
echo " ---------- TESTING on Dancer 2 : $$i"; \
- ${CPANM_DANCER2} -n --installdeps $$i && DANCER_FORCE_PLUGIN_REGISTRATION=1 ${CPANM_DANCER2} --test-only $$i && pass_d2=1; \
+ ${CPANM_DANCER2} -n --installdeps $$i && DANCER_FORCE_PLUGIN_REGISTRATION=1 ${CPANM_DANCER2} --test-only -v $$i && pass_d2=1; \
echo "$$i,$$pass_d1,$$pass_d2" >> result.csv; \
done;
@@ -44,4 +44,5 @@ perlbrew_dancer2_plugin_tests:
${PERLBREW} list | grep dancer2_plugin_tests > /dev/null || ( ${PERLBREW} install -j 2 -n perl-5.16.1 --as dancer2_plugin_tests && ${CPANM_DANCER2} ${HERE}/../.. )
plugins_list:
+ cpanm -n Modern::Perl LWP::Simple ElasticSearch
${HERE}/get_modules_list.pl > plugins_list

0 comments on commit c2b2aa4

Please sign in to comment.