Permalink
Browse files

Make check now uses coz instead of linking directly with libcoz

  • Loading branch information...
ccurtsinger committed Dec 8, 2016
1 parent 32bc55a commit f38f22e868d76440195c01f8e87dce7753431a0a
Showing with 2 additions and 2 deletions.
  1. +2 −2 libcoz/Makefile
View
@@ -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

0 comments on commit f38f22e

Please sign in to comment.