Renamed regression-tests to tests in preparation for the addition of other types of tests.

This commit is contained in:
Nicolas Tsiftes 2017-09-01 16:39:58 +02:00 committed by Niclas Finne
parent 08613960e2
commit 0bf7ddcc7f
99 changed files with 9 additions and 9 deletions

6
.gitignore vendored
View File

@ -81,7 +81,7 @@ platform/galileo/bsp/grub/bin/
*.prg
*.dsc
#regression tests artifacts
#test artifacts
*.testlog
*.log.prog
*.report
@ -90,8 +90,8 @@ summary
*.runerr
*.runlog
*.faillog
regression-tests/[0-9][0-9]-*/report
regression-tests/[0-9][0-9]-*/org/
tests/[0-9][0-9]-*/report
tests/[0-9][0-9]-*/org/
# cscope files
cscope.*

View File

@ -77,15 +77,15 @@ before_script:
fi
script:
## regression-tests/Makefile handles most of generic logic
- "make -C regression-tests/??-$BUILD_TYPE RUNALL=true summary"
## tests/Makefile handles most of generic logic
- "make -C tests/??-$BUILD_TYPE RUNALL=true summary"
after_script:
## Print cooja test logs
- "[ ${BUILD_CATEGORY:-0} = sim ] && tail regression-tests/??-$BUILD_TYPE/*.testlog"
- "[ ${BUILD_CATEGORY:-0} = sim ] && tail tests/??-$BUILD_TYPE/*.testlog"
## Print a basic summary
- "echo 'Summary:'; cat regression-tests/??-$BUILD_TYPE/summary"
- "FAILS=`grep -c ' FAIL ' regression-tests/??-$BUILD_TYPE/summary`"
- "echo 'Summary:'; cat tests/??-$BUILD_TYPE/summary"
- "FAILS=`grep -c ' FAIL ' tests/??-$BUILD_TYPE/summary`"
## This will detect whether the build should pass or fail
- "test $FAILS -eq 0; exit $?"

View File

@ -57,7 +57,7 @@ RUNALL=false
endif
%.testlog: %.csc cooja
@$(CONTIKI)/regression-tests/simexec.sh "$(RUNALL)" "$<" "$(CONTIKI)" "$(basename $@)" $(RANDOMSEED)
@$(CONTIKI)/tests/simexec.sh "$(RUNALL)" "$<" "$(CONTIKI)" "$(basename $@)" $(RANDOMSEED)
clean:
@rm -f $(TESTLOGS) $(LOGS) $(FAILLOGS) COOJA.log COOJA.testlog \