tools/test_mutants.sh.lua
changeset 13436 116b756ced71
parent 12769 132a3c7b25fa
equal deleted inserted replaced
13435:4698f1e36e02 13436:116b756ced71
    31 if [[ "$SPEC_FILE" == "" || ! -f "$SPEC_FILE" ]]; then
    31 if [[ "$SPEC_FILE" == "" || ! -f "$SPEC_FILE" ]]; then
    32 	echo "EE: Failed to find test spec file ($SPEC_FILE)"
    32 	echo "EE: Failed to find test spec file ($SPEC_FILE)"
    33 	exit 1;
    33 	exit 1;
    34 fi
    34 fi
    35 
    35 
    36 if ! busted "$SPEC_FILE"; then
    36 if ! busted --helper=loader "$SPEC_FILE"; then
    37 	echo "EE: Tests fail on original source. Fix it"\!;
    37 	echo "EE: Tests fail on original source. Fix it"\!;
    38 	exit 1;
    38 	exit 1;
    39 fi
    39 fi
    40 
    40 
    41 export MUTANT_N=0
    41 export MUTANT_N=0