parent
b487866e75
commit
1074a63fb7
|
@ -74,18 +74,10 @@ if EFL_ENABLE_COVERAGE
|
||||||
@$(MAKE) lcov-report
|
@$(MAKE) lcov-report
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if EFL_ENABLE_BENCHMARK
|
|
||||||
|
|
||||||
benchmark:
|
benchmark:
|
||||||
@cd src && $(MAKE) benchmark
|
@cd src && $(MAKE) benchmark
|
||||||
@mkdir result || true
|
@mkdir result || true
|
||||||
@cd result && ../src/tests/eo_bench `date +%F_%s`
|
@cd result && ../src/benchmarks/eo_bench `date +%F_%s`
|
||||||
|
|
||||||
else
|
|
||||||
|
|
||||||
benchmark:
|
|
||||||
@echo "reconfigure with --enable-benchmark"
|
|
||||||
endif
|
|
||||||
|
|
||||||
clean-local:
|
clean-local:
|
||||||
@rm -rf coverage benchmark
|
@rm -rf coverage benchmark
|
||||||
|
|
|
@ -171,8 +171,6 @@ AC_SUBST([lt_enable_auto_import])
|
||||||
|
|
||||||
### Unit tests, coverage and benchmarking
|
### Unit tests, coverage and benchmarking
|
||||||
|
|
||||||
EFL_CHECK_BENCHMARK([enable_benchmark="yes"], [enable_benchmark="no"])
|
|
||||||
|
|
||||||
AC_SUBST([requirements_pc_eo])
|
AC_SUBST([requirements_pc_eo])
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -5,14 +5,5 @@ SUBDIRS = lib benchmarks examples tests
|
||||||
|
|
||||||
.PHONY: benchmark
|
.PHONY: benchmark
|
||||||
|
|
||||||
if EFL_ENABLE_BENCHMARK
|
|
||||||
|
|
||||||
benchmark: all
|
|
||||||
cd benchamrks && make eo_bench
|
|
||||||
|
|
||||||
else
|
|
||||||
|
|
||||||
benchmark:
|
benchmark:
|
||||||
@echo "reconfigure with --enable-benchmark"
|
@cd benchmarks && $(MAKE) benchmark
|
||||||
|
|
||||||
endif
|
|
||||||
|
|
|
@ -7,9 +7,9 @@ AM_CPPFLAGS = \
|
||||||
@EFL_EO_BUILD@ \
|
@EFL_EO_BUILD@ \
|
||||||
@EO_CFLAGS@
|
@EO_CFLAGS@
|
||||||
|
|
||||||
if EFL_ENABLE_BENCHMARK
|
EXTRA_PROGRAMS = eo_bench
|
||||||
|
|
||||||
noinst_PROGRAMS = eo_bench
|
benchmark: eo_bench
|
||||||
|
|
||||||
eo_bench_SOURCES = \
|
eo_bench_SOURCES = \
|
||||||
class_simple.c \
|
class_simple.c \
|
||||||
|
@ -20,7 +20,5 @@ eo_bench_eo_do.c
|
||||||
|
|
||||||
eo_bench_LDADD = $(top_builddir)/src/lib/libeo.la @EO_LIBS@
|
eo_bench_LDADD = $(top_builddir)/src/lib/libeo.la @EO_LIBS@
|
||||||
|
|
||||||
endif
|
|
||||||
|
|
||||||
clean-local:
|
clean-local:
|
||||||
rm -rf *.gcno ..\#..\#src\#*.gcov *.gcda
|
rm -rf *.gcno ..\#..\#src\#*.gcov *.gcda
|
||||||
|
|
Loading…
Reference in New Issue