X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=tests%2Fautomake.mk;h=dceb82f74be869328cb15ba222d56599b2d9c22d;hb=3c3d40ddf4819a9bf2c24d0c10c6bdc4ec525b96;hp=840f56b04764429d467abef722d26100e7808e7b;hpb=2f7b367bf796c63c595ac837b716cce535ffd5bf;p=pspp diff --git a/tests/automake.mk b/tests/automake.mk index 840f56b047..dceb82f74b 100644 --- a/tests/automake.mk +++ b/tests/automake.mk @@ -63,6 +63,7 @@ tests_libpspp_heap_test_SOURCES = \ src/libpspp/temp-file.c \ tests/libpspp/heap-test.c tests_libpspp_heap_test_CPPFLAGS = $(AM_CPPFLAGS) -DASSERT_LEVEL=10 +tests_libpspp_heap_test_LDADD = src/libpspp/libpspp.la gl/libgl.la tests_libpspp_hmap_test_SOURCES = \ src/libpspp/hmap.c \ @@ -101,6 +102,7 @@ tests_libpspp_range_set_test_SOURCES = \ src/libpspp/temp-file.c \ tests/libpspp/range-set-test.c tests_libpspp_range_set_test_CPPFLAGS = $(AM_CPPFLAGS) -DASSERT_LEVEL=10 +tests_libpspp_range_set_test_LDADD = src/libpspp/libpspp.la gl/libgl.la tests_libpspp_str_test_SOURCES = \ tests/libpspp/str-test.c @@ -113,6 +115,7 @@ tests_libpspp_string_map_test_SOURCES = \ src/libpspp/string-set.c \ tests/libpspp/string-map-test.c tests_libpspp_string_map_test_CPPFLAGS = $(AM_CPPFLAGS) -DASSERT_LEVEL=10 +tests_libpspp_string_map_test_LDADD = src/libpspp/libpspp.la gl/libgl.la tests_libpspp_stringi_map_test_SOURCES = \ src/libpspp/hash-functions.c \ @@ -125,6 +128,7 @@ tests_libpspp_stringi_map_test_SOURCES = \ src/libpspp/temp-file.c \ tests/libpspp/stringi-map-test.c tests_libpspp_stringi_map_test_CPPFLAGS = $(AM_CPPFLAGS) -DASSERT_LEVEL=10 +tests_libpspp_stringi_map_test_LDADD = src/libpspp/libpspp.la gl/libgl.la tests_libpspp_string_set_test_SOURCES = \ src/libpspp/hash-functions.c \ @@ -142,6 +146,7 @@ tests_libpspp_stringi_set_test_SOURCES = \ src/libpspp/temp-file.c \ tests/libpspp/stringi-set-test.c tests_libpspp_stringi_set_test_CPPFLAGS = $(AM_CPPFLAGS) -DASSERT_LEVEL=10 +tests_libpspp_stringi_set_test_LDADD = src/libpspp/libpspp.la gl/libgl.la tests_libpspp_tower_test_SOURCES = \ src/libpspp/abt.c \ @@ -150,6 +155,7 @@ tests_libpspp_tower_test_SOURCES = \ src/libpspp/tower.c \ tests/libpspp/tower-test.c tests_libpspp_tower_test_CPPFLAGS = $(AM_CPPFLAGS) -DASSERT_LEVEL=10 +tests_libpspp_tower_test_LDADD = src/libpspp/libpspp.la gl/libgl.la tests_libpspp_u8_istream_test_SOURCES = tests/libpspp/u8-istream-test.c tests_libpspp_u8_istream_test_LDADD = src/libpspp/libpspp.la gl/libgl.la @@ -160,6 +166,7 @@ tests_libpspp_sparse_array_test_SOURCES = \ tests/libpspp/sparse-array-test.c \ src/libpspp/temp-file.c tests_libpspp_sparse_array_test_CPPFLAGS = $(AM_CPPFLAGS) -DASSERT_LEVEL=10 +tests_libpspp_sparse_array_test_LDADD = src/libpspp/libpspp.la gl/libgl.la tests_libpspp_sparse_xarray_test_SOURCES = \ src/libpspp/argv-parser.c \ @@ -175,6 +182,7 @@ tests_libpspp_sparse_xarray_test_SOURCES = \ src/libpspp/temp-file.c \ tests/libpspp/sparse-xarray-test.c tests_libpspp_sparse_xarray_test_CPPFLAGS = $(AM_CPPFLAGS) -DASSERT_LEVEL=10 +tests_libpspp_sparse_xarray_test_LDADD = src/libpspp/libpspp.la gl/libgl.la tests_data_inexactify_SOURCES = tests/data/inexactify.c @@ -201,6 +209,9 @@ tests_language_lexer_scan_test_SOURCES = \ src/libpspp/temp-file.c \ tests/language/lexer/scan-test.c tests_language_lexer_scan_test_CFLAGS = $(AM_CFLAGS) +tests_language_lexer_scan_test_LDADD = \ + src/libpspp/libpspp.la \ + gl/libgl.la check_PROGRAMS += tests/language/lexer/segment-test tests_language_lexer_segment_test_SOURCES = \ @@ -213,6 +224,9 @@ tests_language_lexer_segment_test_SOURCES = \ src/libpspp/temp-file.c \ tests/language/lexer/segment-test.c tests_language_lexer_segment_test_CFLAGS = $(AM_CFLAGS) +tests_language_lexer_segment_test_LDADD = \ + src/libpspp/libpspp.la \ + gl/libgl.la check_PROGRAMS += tests/libpspp/zip-test tests_libpspp_zip_test_SOURCES = \ @@ -224,6 +238,9 @@ tests_libpspp_zip_test_SOURCES = \ src/libpspp/zip-writer.c \ tests/libpspp/zip-test.c tests_libpspp_zip_test_CFLAGS = $(AM_CFLAGS) +tests_libpspp_zip_test_LDADD = \ + src/libpspp/libpspp.la \ + gl/libgl.la check_PROGRAMS += tests/output/render-test