mirror of
https://github.com/plasma-umass/coz.git
synced 2024-09-11 04:55:25 +03:00
Make check now uses coz instead of linking directly with libcoz
This commit is contained in:
parent
32bc55ac8e
commit
f38f22e868
@ -8,8 +8,8 @@ include $(ROOT)/common.mk
|
||||
|
||||
check:: libcoz.so
|
||||
printf "int main(int argc, char *argv[])\n{\nreturn (0);\n}\n" > x.c
|
||||
gcc -Wl,-rpath,`pwd` -o x x.c libcoz.so -ldl || ( $(RM) x x.c ; exit 1)
|
||||
./x
|
||||
gcc -g -o x x.c || ( $(RM) x x.c ; exit 1)
|
||||
../coz run --- ./x
|
||||
if grep -q time= profile.coz; then echo success: coz profiler ran as it should.; fi
|
||||
$(RM) -f x.c x profile.coz
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user