Mercurial > hg > release > heapstats-2.1
view agent/test/gtest/Makefile @ 225:5abb11559f3b
Bug 3355: [TEST]Add unit test cases
Reviewed-by: yasuenag
https://github.com/HeapStats/heapstats/pull/90
author | KUBOTA Yuji <kubota.yuji@lab.ntt.co.jp> |
---|---|
date | Tue, 11 Apr 2017 13:05:30 +0900 |
parents | |
children |
line wrap: on
line source
.PHONY: test clean agent ifndef HEAPSTATS_PATH HEAPSTATS_PATH = ../../.. endif all: agent $(MAKE) -C src/ if [ ! -d test-bin/stub ]; then \ mkdir -p test-bin/stub; \ fi if [ ! -d test-bin/results ]; then \ mkdir test-bin/results; \ fi cp -f src/heapstats-test src/jvmti-load-test test-bin/ cp -f src/stub/*.so test-bin/stub/ cp -f src/stub/*.class test-bin/stub/ agent: $(MAKE) -C $(HEAPSTATS_PATH)/agent if [ ! -d test-bin/heapstats-engines ]; then \ mkdir -p test-bin/heapstats-engines; \ fi cp -f $(HEAPSTATS_PATH)/agent/src/heapstats-engines/libheapstats-*.so \ test-bin/heapstats-engines/ test: all ./testcase.sh clean: $(MAKE) -C src clean $(RM) -r heapstats-engines test-bin