]> granicus.if.org Git - fribidi/commitdiff
Fix make distcheck
authorKhaled Hosny <khaledhosny@eglug.org>
Mon, 20 Nov 2017 19:56:41 +0000 (21:56 +0200)
committerKhaled Hosny <khaledhosny@eglug.org>
Mon, 20 Nov 2017 19:56:41 +0000 (21:56 +0200)
.travis.yml
fribidi-vs-unicode/Makefile.am

index fca5c57cbfd985600ed57509f124ed60297d12cb..d8a482056d1c2a4e5ff15ec875ade109cfc05b79 100644 (file)
@@ -18,4 +18,4 @@ script:
   - ./configure
   - make
   - make check
-# - make distcheck # broken currently
+  - make distcheck
index 129b681fa395ef24cc68c1f6dcadc85a4183a97a..2c9304ccd56d8bf788c6f8b12cfc97e68488dbab 100644 (file)
@@ -8,6 +8,9 @@ TESTS_ENVIRONMENT = \
 AM_TESTS_ENVIRONMENT = $(TESTS_ENVIRONMENT)
 
 TEST_EXTENSIONS = .txt
+TEST_DATAS = \
+       BidiTest.txt \
+       BidiCharacterTest.txt
 
 TXT_LOG_COMPILER = sh $(srcdir)/run.tests
 
@@ -20,13 +23,14 @@ LDADD = $(top_builddir)/lib/libfribidi.la $(GLIB_LIBS)
 
 if FRIBIDI_USE_GLIB
 check_PROGRAMS = test test-character
-bin_PROGRAMS = $(check_PROGRAMS)
-TESTS = \
-       BidiTest.txt \
-       BidiCharacterTest.txt
+TESTS = $(TEST_DATAS)
 endif
 
 test_SOURCES = test.c
 test_character_SOURCES = test-character.c
 
+EXTRA_DIST = \
+       run.tests \
+       $(TEST_DATAS)
+
 -include $(top_srcdir)/git.mk