Skip to content

Commit

Permalink
Merge pull request contiki-ng#2688 from pjonsson/tests-faster-cooja
Browse files Browse the repository at this point in the history
tests: avoid Java ServiceLoader mechanism
  • Loading branch information
joakimeriksson authored Oct 10, 2023
2 parents 3ea89ae + d9d0310 commit 2fef414
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Makefile.simulation-test
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ endif
# Successful simulations do nothing, failures appends test+seed to summary.
tests: $(TESTS)
@for (( SEED=$(BASESEED); SEED < $$(( $(BASESEED) + $(RUNCOUNT) )); SEED++ )); do \
$(GRADLE) --no-watch-fs --parallel --build-cache -p $(CONTIKI)/tools/cooja run --args="--no-gui --contiki=$(realpath $(CONTIKI)) --logdir=$(dir $(realpath $<)) --random-seed=$$SEED $(realpath $^)" || \
$(GRADLE) --no-watch-fs --parallel --build-cache -p $(CONTIKI)/tools/cooja run -Dslf4j.provider=ch.qos.logback.classic.spi.LogbackServiceProvider --args="--no-gui --contiki=$(realpath $(CONTIKI)) --logdir=$(dir $(realpath $<)) --random-seed=$$SEED $(realpath $^)" || \
echo "TEST FAIL: $^ seed $$SEED" >> summary; \
done

Expand Down

0 comments on commit 2fef414

Please sign in to comment.