]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
new : ARM tests with Qemu user-mode
authorYann Collet <yann.collet.73@gmail.com>
Sun, 7 Feb 2016 22:58:32 +0000 (23:58 +0100)
committerYann Collet <yann.collet.73@gmail.com>
Sun, 7 Feb 2016 22:58:32 +0000 (23:58 +0100)
.travis.yml
Makefile
programs/Makefile

index 065e6f143b456372b98a39a29dfe97b5bd9a501c..8663b286b838f0787afe71be279aaf21008b45da 100644 (file)
@@ -7,6 +7,9 @@ before_install:
   - sudo apt-get install -qq g++-multilib
   - sudo apt-get install -qq gcc-multilib
   - sudo apt-get install -qq valgrind
+  - sudo apt-get install -qq qemu
+  - sudo apt-get install -qq binfmt-support
+  - sudo apt-get install -qq qemu-user-static
 
 env:
   - ZSTD_TRAVIS_CI_ENV=travis-install
index 6f6c76ea7465be1cbeb99e6a50bc5f26f50cb5ae..60a083fdb8c149f2e18f975a5d28663c34a6f781 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
 # ################################################################
 # zstd - Makefile
-# Copyright (C) Yann Collet 2014-2015
+# Copyright (C) Yann Collet 2014-2016
 # All rights reserved.
 # 
 # BSD license
@@ -93,8 +93,9 @@ gpptest: clean
        $(MAKE) all CC=g++ CFLAGS="-O3 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Werror"
 
 armtest: clean
-       $(MAKE) -C $(ZSTDDIR) all CC=arm-linux-gnueabi-gcc MOREFLAGS="-Werror"
-       $(MAKE) -C $(PRGDIR) CC=arm-linux-gnueabi-gcc MOREFLAGS="-Werror -static"
+#      $(MAKE) -C $(ZSTDDIR) all CC=arm-linux-gnueabi-gcc MOREFLAGS="-Werror"
+       $(MAKE) -C $(PRGDIR) datagen   # use native, faster
+       $(MAKE) -C $(PRGDIR) test CC=arm-linux-gnueabi-gcc MOREFLAGS=-static # MOREFLAGS="-Werror -static"
 
 usan: clean
        $(MAKE) test CC=clang MOREFLAGS="-g -fsanitize=undefined"
index 77b4cb46bb2e7f82a749a64ce426fe7de98beb13..3db80a7cd729e32f2c4fc1b8a92276e939fdf5c2 100644 (file)
@@ -1,6 +1,6 @@
 # ##########################################################################
 # ZSTD programs - Makefile
-# Copyright (C) Yann Collet 2015
+# Copyright (C) Yann Collet 2015-2016
 #
 # GPL v2 License
 #
 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 #
 # You can contact the author at :
-#  - ZSTD source repository : http://code.google.com/p/zstd/
-#  - Public forum : https://groups.google.com/forum/#!forum/lz4c
+#  - zstd homepage : http://www.zstd.net/
 # ##########################################################################
 # zstd : Command Line Utility, supporting gzip-like arguments
 # datagen : Synthetic and parametrable data generator, for tests
 # fuzzer  : Test tool, to check zstd integrity on target platform
 # fuzzer32: Same as fuzzer, but forced to compile in 32-bits mode
+# zbufftest  : Test tool, to check ZBUFF integrity on target platform
+# zbufftest32: Same as zbufftest, but forced to compile in 32-bits mode
 # fullbench  : Precisely measure speed for each zstd inner function
 # fullbench32: Same as fullbench, but forced to compile in 32-bits mode
 # ##########################################################################