diff --git a/src/tagui b/src/tagui index 9d437540..6d3c59cd 100755 --- a/src/tagui +++ b/src/tagui @@ -324,7 +324,7 @@ fi # check if test mode is enabled and run casperjs accordingly, before sending finish signal if integrations are active if [ "$tagui_test_mode" == false ]; then "$CASPERJS_EXECUTABLE" "$1".js $params$api | tee -a "$1".log -else export tagui_test_mode=true; "$CASPERJS_EXECUTABLE" test "$1".js $params$api --xunit="$1".xml | tee -a "$1".log; fi +else export tagui_test_mode=true; "$CASPERJS_EXECUTABLE" test "$1".js $api --xunit="$1".xml | tee -a "$1".log; fi # checking for existence of files is important, otherwise in loops integrations will run even without enabling if [ -f "tagui_r/tagui_r.in" ]; then echo "finish" > tagui_r/tagui_r.in; fi if [ -f "tagui_py/tagui_py.in" ]; then echo "finish" > tagui_py/tagui_py.in; fi diff --git a/src/tagui.cmd b/src/tagui.cmd index 0253c28f..a6f6e60a 100644 --- a/src/tagui.cmd +++ b/src/tagui.cmd @@ -618,7 +618,7 @@ rem check if test mode is enabled and run casperjs accordingly, before sending f if %tagui_test_mode%==false ( casperjs "%flow_file%.js" %params%!api! | tee -a "%flow_file%.log" ) else ( - casperjs test "%flow_file%.js" %params%!api! --xunit="%flow_file%.xml" | tee -a "%flow_file%.log" + casperjs test "%flow_file%.js" !api! --xunit="%flow_file%.xml" | tee -a "%flow_file%.log" ) rem checking for existence of files is important, otherwise in loops integrations will run even without enabling if exist "tagui_r\tagui_r.in" echo finish > tagui_r\tagui_r.in