mirror of
https://github.com/plasma-umass/coz.git
synced 2024-09-11 04:55:25 +03:00
Merge pull request #167 from kramermt/check_benchmark
Add -ldl to benchmark build rules
This commit is contained in:
commit
d7eeeb549f
3
Makefile
3
Makefile
@ -19,3 +19,6 @@ install:: all
|
||||
|
||||
bench bench_small bench_large::
|
||||
@$(MAKE) -C benchmarks $@
|
||||
|
||||
check::
|
||||
@$(MAKE) -C benchmarks check
|
||||
|
@ -4,3 +4,13 @@ DIRS := histogram kmeans linear_regression matrix_multiply \
|
||||
sqlite-modified toy word_count
|
||||
|
||||
include $(ROOT)/common.mk
|
||||
|
||||
check::
|
||||
@$(MAKE) -C kmeans
|
||||
@$(RM) -f profile.coz
|
||||
../coz run --- kmeans/kmeans
|
||||
@grep -q "time=" profile.coz || { echo failure: valid profile.coz not generated; exit 1; }
|
||||
@grep -q "throughput-point" profile.coz || { echo failure: throughput-point not found in profile; exit 1; }
|
||||
@grep -q -P "samples\tlocation=" profile.coz || { echo failure: samples not found in profile; exit 1; }
|
||||
@echo success: benchmark generated valid profile.coz
|
||||
@$(RM) -f profile.coz
|
||||
|
Loading…
Reference in New Issue
Block a user