summaryrefslogtreecommitdiffstats
path: root/lowercasing_test/src/tests/lowercasing/dotest.sh
diff options
context:
space:
mode:
authorJon Bratseth <bratseth@yahoo-inc.com>2016-06-15 23:09:44 +0200
committerJon Bratseth <bratseth@yahoo-inc.com>2016-06-15 23:09:44 +0200
commit72231250ed81e10d66bfe70701e64fa5fe50f712 (patch)
tree2728bba1131a6f6e5bdf95afec7d7ff9358dac50 /lowercasing_test/src/tests/lowercasing/dotest.sh
Publish
Diffstat (limited to 'lowercasing_test/src/tests/lowercasing/dotest.sh')
-rwxr-xr-xlowercasing_test/src/tests/lowercasing/dotest.sh25
1 files changed, 25 insertions, 0 deletions
diff --git a/lowercasing_test/src/tests/lowercasing/dotest.sh b/lowercasing_test/src/tests/lowercasing/dotest.sh
new file mode 100755
index 00000000000..73460c470be
--- /dev/null
+++ b/lowercasing_test/src/tests/lowercasing/dotest.sh
@@ -0,0 +1,25 @@
+#!/bin/sh
+# Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
+
+. ../../binref/env.sh
+
+ver="java8u20"
+
+$BINREF/runjava CasingVariants > out.txt
+./lowercasing_test_casingvariants_fastlib_app ./letters ref.txt.$ver > out.fastlib.txt
+./lowercasing_test_casingvariants_vespalib_app ./letters ref.txt.$ver > out.vespalib.txt
+
+echo "Verify Java"
+if ! diff -u out.txt ref.txt.$ver; then
+ exit 1
+fi
+
+echo "Verify fastlib"
+if ! diff -u out.fastlib.txt ref.fastlib.txt.$ver; then
+ exit 1
+fi
+
+echo "Verify vespalib"
+if ! diff -u out.vespalib.txt ref.vespalib.txt.$ver; then
+ exit 1
+fi