From 532ee999b98d63476987a939419c2f234d9e595b Mon Sep 17 00:00:00 2001 From: Davi de Castro Reis Date: Sun, 15 May 2011 17:19:08 -0300 Subject: [PATCH] Moved benchmark code into tests directory. --- src/Makefile.am | 4 ---- tests/Makefile.am | 5 ++++- {src => tests}/cmph_benchmark_test.c | 0 3 files changed, 4 insertions(+), 5 deletions(-) rename {src => tests}/cmph_benchmark_test.c (100%) diff --git a/src/Makefile.am b/src/Makefile.am index 4b6e5b4..0ab079a 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,5 +1,4 @@ bin_PROGRAMS = cmph -check_PROGRAMS = cmph_benchmark_test noinst_PROGRAMS = bm_numbers lib_LTLIBRARIES = libcmph.la include_HEADERS = cmph.h cmph_types.h cmph_time.h chd_ph.h @@ -34,8 +33,5 @@ libcmph_la_LDFLAGS = -version-info 0:0:0 cmph_SOURCES = main.c wingetopt.h wingetopt.c cmph_LDADD = libcmph.la -cmph_benchmark_test_SOURCES = cmph_benchmark_test.c -cmph_benchmark_test_LDADD = libcmph.la - bm_numbers_SOURCES = bm_numbers.c bm_numbers_LDADD = libcmph.la diff --git a/tests/Makefile.am b/tests/Makefile.am index 28ad0b5..361c67b 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -1,5 +1,5 @@ TESTS = $(check_PROGRAMS) -check_PROGRAMS = graph_tests select_tests compressed_seq_tests compressed_rank_tests +check_PROGRAMS = graph_tests select_tests compressed_seq_tests compressed_rank_tests cmph_benchmark_test noinst_PROGRAMS = packed_mphf_tests mphf_tests INCLUDES = -I../src/ @@ -21,3 +21,6 @@ compressed_seq_tests_LDADD = ../src/libcmph.la compressed_rank_tests_SOURCES = compressed_rank_tests.c compressed_rank_tests_LDADD = ../src/libcmph.la + +cmph_benchmark_test_SOURCES = cmph_benchmark_test.c +cmph_benchmark_test_LDADD = ../src/libcmph.la diff --git a/src/cmph_benchmark_test.c b/tests/cmph_benchmark_test.c similarity index 100% rename from src/cmph_benchmark_test.c rename to tests/cmph_benchmark_test.c