Enlightenment CVS committal
Author : cedric
Project : e17
Module : proto/eina
Dir : e17/proto/eina/src/tests
Modified Files:
Makefile.am .cvsignore
Added Files:
eina_bench.c eina_bench.h eina_bench_hash.c
Log Message:
Add benchmark support.
===================================================================
RCS file: /cvs/e/e17/proto/eina/src/tests/Makefile.am,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -3 -r1.4 -r1.5
--- Makefile.am 4 Aug 2008 16:50:03 -0000 1.4
+++ Makefile.am 6 Aug 2008 15:54:56 -0000 1.5
@@ -1,11 +1,12 @@
MAINTAINERCLEANFILES = Makefile.in
+benchdir = $(bindir)
+
AM_CPPFLAGS = \
-I$(top_srcdir)/src/lib \
-I$(top_srcdir)/src/include \
@CHECK_CFLAGS@
-
if EINA_ENABLE_TESTS
check_PROGRAMS = eina_suite
@@ -17,12 +18,26 @@
eina_test_error.c \
eina_test_magic.c \
eina_test_inlist.c \
-eina_test_lalloc.c
+eina_test_main.c \
+eina_test_counter.c \
+eina_test_lalloc.c \
+eina_test_hash.c
eina_suite_LDADD = @CHECK_LIBS@ $(top_builddir)/src/lib/libeina.la
-EXTRA_DIST = eina_suite.h
+endif
+
+if EINA_ENABLE_BENCH
+
+bench_PROGRAMS = eina_bench
+
+eina_bench_SOURCES = \
+eina_bench.c \
+eina_bench_hash.c
+
+eina_bench_LDADD = $(top_builddir)/src/lib/libeina.la
endif
+EXTRA_DIST = eina_bench.h eina_suite.h
===================================================================
RCS file: /cvs/e/e17/proto/eina/src/tests/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- .cvsignore 1 Aug 2008 12:23:34 -0000 1.1
+++ .cvsignore 6 Aug 2008 15:54:56 -0000 1.2
@@ -6,3 +6,4 @@
.libs
.deps
eina_suite
+eina_bench
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs