-
Notifications
You must be signed in to change notification settings - Fork 520
/
dmlc_test.mk
28 lines (25 loc) · 1.3 KB
/
dmlc_test.mk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
TEST=test/filesys_test test/dataiter_test\
test/iostream_test test/recordio_test test/split_read_test\
test/stream_read_test test/split_test test/libsvm_parser_test\
test/libfm_parser_test test/split_repeat_read_test test/strtonum_test\
test/logging_test test/parameter_test test/registry_test\
test/csv_parser_test
test/filesys_test: test/filesys_test.cc src/io/*.h libdmlc.a
test/dataiter_test: test/dataiter_test.cc libdmlc.a
test/iostream_test: test/iostream_test.cc libdmlc.a
test/recordio_test: test/recordio_test.cc libdmlc.a
test/split_read_test: test/split_read_test.cc libdmlc.a
test/split_repeat_read_test: test/split_repeat_read_test.cc libdmlc.a
test/stream_read_test: test/stream_read_test.cc libdmlc.a
test/split_test: test/split_test.cc libdmlc.a
test/libsvm_parser_test: test/libsvm_parser_test.cc src/data/libsvm_parser.h libdmlc.a
test/libfm_parser_test: test/libfm_parser_test.cc src/data/libfm_parser.h libdmlc.a
test/csv_parser_test: test/csv_parser_test.cc src/data/csv_parser.h libdmlc.a
test/strtonum_test: test/strtonum_test.cc
test/logging_test: test/logging_test.cc
test/parameter_test: test/parameter_test.cc
test/registry_test: test/registry_test.cc
$(TEST) :
$(CXX) $(CFLAGS) -o $@ $(filter %.cpp %.o %.c %.cc %.a, $^) $(LDFLAGS)
ALL_TEST=$(TEST) $(UNITTEST)
ALL_TEST_OBJ=$(UNITTEST_OBJ)