summaryrefslogtreecommitdiffstats
path: root/tests/lookup
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lookup')
-rw-r--r--tests/lookup/Makefile.am9
-rw-r--r--tests/lookup/test_simple_lookup.cpp8
2 files changed, 6 insertions, 11 deletions
diff --git a/tests/lookup/Makefile.am b/tests/lookup/Makefile.am
index 4c71c36..9e8cef4 100644
--- a/tests/lookup/Makefile.am
+++ b/tests/lookup/Makefile.am
@@ -15,10 +15,11 @@
## along with this program; if not, write to the Free Software
## Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-INCLUDES = -I$(top_srcdir)/src/include \
- -I$(top_srcdir)/src/storage \
- -I$(top_srcdir)/src/lookup \
- @GLIB2_CPPFLAGS@
+INCLUDES = -I$(top_srcdir)/src \
+ -I$(top_srcdir)/src/include \
+ -I$(top_srcdir)/src/storage \
+ -I$(top_srcdir)/src/lookup \
+ @GLIB2_CPPFLAGS@
noinst_PROGRAMS = test_simple_lookup
diff --git a/tests/lookup/test_simple_lookup.cpp b/tests/lookup/test_simple_lookup.cpp
index be90316..7039f45 100644
--- a/tests/lookup/test_simple_lookup.cpp
+++ b/tests/lookup/test_simple_lookup.cpp
@@ -2,13 +2,7 @@
#include <stdio.h>
#include <sys/time.h>
#include <glib.h>
-#include "novel_types.h"
-#include "pinyin_base.h"
-#include "pinyin_phrase.h"
-#include "pinyin_large_table.h"
-#include "phrase_index.h"
-#include "ngram.h"
-#include "pinyin_lookup.h"
+#include "pinyin.h"
size_t bench_times = 1000;