Imported Upstream version 1.0.8
[platform/upstream/fribidi.git] / test / Makefile.am
index 8859f22..f075e75 100644 (file)
@@ -1,5 +1,12 @@
 
-TESTS_ENVIRONMENT = /bin/sh
+SUBDIRS = unicode-conformance
+
+TESTS_ENVIRONMENT = \
+       srcdir=${srcdir}; export srcdir; \
+       top_builddir=${top_builddir}; export top_builddir; \
+       EXEEXT=${EXEEXT}; export EXEEXT;
+
+AM_TESTS_ENVIRONMENT = $(TESTS_ENVIRONMENT)
 
 TESTS = run.tests
 
@@ -10,6 +17,8 @@ TEST_DATAS = \
        test_CapRTL_explicit.reference \
        test_CapRTL_implicit.input \
        test_CapRTL_implicit.reference \
+       test_CapRTL_isolate.input \
+       test_CapRTL_isolate.reference \
        test_ISO8859-8_hebrew.input \
        test_ISO8859-8_hebrew.reference \
        test_UTF-8_persian.input \
@@ -22,7 +31,9 @@ EXTRA_DIST = \
        $(TESTS) \
        $(TEST_DATAS)
 
-test_%.reference: test_%.input
+SUFFIXES: .reference .input
+
+.reference.input:
        testcase="$@" && \
        charset="`echo "$@" | sed 's/_[^_]*$$//;s/.*_//'`" && \
        $(top_builddir)/bin/fribidi --test --charset "$$charset" "$<" > "$@" \