aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorEugene Kliuchnikov <eustas@google.com>2016-06-16 10:52:57 +0200
committerEugene Kliuchnikov <eustas@google.com>2016-06-16 10:52:57 +0200
commit378485b097fd7b80a5e404a3cb912f7b18f78cdb (patch)
treefb350b628ace365805a7f153af7d092a2a746d29 /tests
parent4a8bb6a2b884e9bf08c508c5f2a8f1feb5e4cd1f (diff)
downloadbrotli-378485b097fd7b80a5e404a3cb912f7b18f78cdb.zip
brotli-378485b097fd7b80a5e404a3cb912f7b18f78cdb.tar.gz
brotli-378485b097fd7b80a5e404a3cb912f7b18f78cdb.tar.bz2
Update build system. Now libraries are produced as build artifacts.
There are currently 3 ways to build: * Easy: `./configure; make` * Simple: use Bazel * Portable: use premake5 to generate XCode / MSVS projects
Diffstat (limited to 'tests')
-rw-r--r--tests/Makefile4
-rwxr-xr-xtests/compatibility_test.sh2
-rwxr-xr-xtests/roundtrip_test.sh2
3 files changed, 3 insertions, 5 deletions
diff --git a/tests/Makefile b/tests/Makefile
index 8b2eedb..7962cbd 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -1,7 +1,5 @@
#brotli/tests
-include ../shared.mk
-
BROTLI = ..
all: test
@@ -11,7 +9,7 @@ test: deps
./roundtrip_test.sh
deps :
- $(MAKE) -C $(BROTLI)/tools
+ $(MAKE) -C $(BROTLI) bro
clean :
rm -f testdata/*.{bro,unbro,uncompressed}
diff --git a/tests/compatibility_test.sh b/tests/compatibility_test.sh
index e907485..6085ff7 100755
--- a/tests/compatibility_test.sh
+++ b/tests/compatibility_test.sh
@@ -5,7 +5,7 @@
set -o errexit
-BRO=../tools/bro
+BRO=../bin/bro
for file in testdata/*.compressed*; do
echo "Testing decompression of file $file"
diff --git a/tests/roundtrip_test.sh b/tests/roundtrip_test.sh
index 6bda135..bfd9885 100755
--- a/tests/roundtrip_test.sh
+++ b/tests/roundtrip_test.sh
@@ -4,7 +4,7 @@
set -o errexit
-BRO=../tools/bro
+BRO=../bin/bro
INPUTS="""
testdata/alice29.txt
testdata/asyoulik.txt