Last change
on this file since 55 was
55,
checked in by meunier, 12 years ago
|
Tried to clean the test_regression directory:
- Code formatting
- Supressed warnings
- Made comprehensible outputs
- Factorized Makefiles
There's still a lot to do (many tests don't pass for either good or bad reasons)
|
-
Property svn:executable set to
*
|
File size:
524 bytes
|
Line | |
---|
1 | |
---|
2 | include ../env.mk |
---|
3 | include ../Makefile.common |
---|
4 | |
---|
5 | test : all |
---|
6 | @echo -ne "| Testing $$(basename $$(pwd)): " ; |
---|
7 | @./$(EXE_SCASS) > $(LOG_SCASS) 2> /dev/null |
---|
8 | @./$(EXE_SC) > $(LOG_SC) 2> /dev/null |
---|
9 | @if diff $(LOG_SC) $(LOG_SCASS) > /dev/null ; then \ |
---|
10 | time_scass=$$(/usr/bin/time -f "%e" 2>&1 ./$(EXE_SCASS) --nodynamiclink | tail -n 1) ; \ |
---|
11 | time_sc=$$(/usr/bin/time -f "%e" 2>&1 ./$(EXE_SC) | tail -n 1) ; \ |
---|
12 | echo "OK (time SystemCass: $$time_scass - time SystemC : $$time_sc)" ; \ |
---|
13 | else echo "KO" ; \ |
---|
14 | fi ; |
---|
15 | |
---|
16 | |
---|
Note: See
TracBrowser
for help on using the repository browser.