Newer
Older
Erwan Jahier
committed
test: remote-runtest lus2lic.diff lus2lic.time
# to perform the test on the local machine rather than on triglav
ltest: runtest lus2lic.diff lus2lic.time
Erwan Jahier
committed
# XXX remote test should be done using --target_board, but i've failed to make it working ...
remote-runtest:
# runtest --all --tool lus2lic --target_board=$(testdir)/board_triglav.exp || true
ssh triglav "cd $(testdir) ; runtest --all --tool lus2lic" || true
runtest:
runtest --all --tool lus2lic || true
.PHONY:lus2lic.diff lus2lic.time
lus2lic.diff:
diff -U 1 -I "Test Run By" -I "testcase \./lus2lic" -I "runtest completed at" \
lus2lic.log.ref lus2lic.log > lus2lic.diff || \
(ls -l lus2lic.diff; exit 1)
lus2lic.time:
grep "testcase \./lus2lic" lus2lic.log > lus2lic.time
Erwan Jahier
committed
cat lus2lic.time
utest:
cp lus2lic.log lus2lic.log.ref
nonreg:
ssh triglav "cd $(testdir) ; runtest --all --tool lus2lic --ignore progression.exp" || true
prog:
ssh triglav "cd $(testdir) ; runtest --all --tool lus2lic --ignore non-reg.exp" || true
Erwan Jahier
committed
clean:
rm -f *.ec *.lus *.lut *.cov *.gp *.rif *.out