diff options
author | Peter Marko <peter.marko@siemens.com> | 2017-02-27 20:26:37 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-03-08 11:52:57 +0000 |
commit | 3fc53377e2c19d43bb9dcd06088295b8f8b3b3ac (patch) | |
tree | 2f9094f0557a295d0df6999c5aa744e1fb0054e8 /meta/recipes-core/zlib/zlib-1.2.11/Makefile-runtests.patch | |
parent | d070d151d35ad2adcd5bc84c91d3b14859c4eeba (diff) | |
download | poky-3fc53377e2c19d43bb9dcd06088295b8f8b3b3ac.tar.gz |
zlib: Upgrade 1.2.8 -> 1.2.11
Licence updated by removing its first line which was containing
copyright notice including year, which could change quite often.
Additional empty line was deleted, too.
(From OE-Core rev: 8b15b7bd10db83b3390827231b54aeb3452bcb6f)
Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/zlib/zlib-1.2.11/Makefile-runtests.patch')
-rw-r--r-- | meta/recipes-core/zlib/zlib-1.2.11/Makefile-runtests.patch | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/meta/recipes-core/zlib/zlib-1.2.11/Makefile-runtests.patch b/meta/recipes-core/zlib/zlib-1.2.11/Makefile-runtests.patch new file mode 100644 index 0000000000..61eea8238a --- /dev/null +++ b/meta/recipes-core/zlib/zlib-1.2.11/Makefile-runtests.patch | |||
@@ -0,0 +1,38 @@ | |||
1 | Add 'ptest' target to Makefile, to run tests without checking dependencies. | ||
2 | |||
3 | Signed-off-by: Anders Roxell <anders.roxell@enea.com> | ||
4 | Upstream-Status: Pending | ||
5 | --- | ||
6 | diff -uNr a/Makefile.in b/Makefile.in | ||
7 | --- a/Makefile.in 2013-06-10 13:48:14.321959162 +0200 | ||
8 | +++ b/Makefile.in 2013-06-10 13:49:36.686476448 +0200 | ||
9 | @@ -83,6 +83,9 @@ | ||
10 | test: all teststatic testshared | ||
11 | |||
12 | teststatic: static | ||
13 | + @make runteststatic | ||
14 | + | ||
15 | +runteststatic: | ||
16 | @TMPST=tmpst_$$; \ | ||
17 | if echo hello world | ./minigzip | ./minigzip -d && ./example $$TMPST ; then \ | ||
18 | echo ' *** zlib test OK ***'; \ | ||
19 | @@ -92,6 +95,9 @@ | ||
20 | rm -f $$TMPST | ||
21 | |||
22 | testshared: shared | ||
23 | + @make runtestshared | ||
24 | + | ||
25 | +runtestshared: | ||
26 | @LD_LIBRARY_PATH=`pwd`:$(LD_LIBRARY_PATH) ; export LD_LIBRARY_PATH; \ | ||
27 | LD_LIBRARYN32_PATH=`pwd`:$(LD_LIBRARYN32_PATH) ; export LD_LIBRARYN32_PATH; \ | ||
28 | DYLD_LIBRARY_PATH=`pwd`:$(DYLD_LIBRARY_PATH) ; export DYLD_LIBRARY_PATH; \ | ||
29 | @@ -105,6 +111,9 @@ | ||
30 | rm -f $$TMPSH | ||
31 | |||
32 | test64: all64 | ||
33 | + @make runtestall64 | ||
34 | + | ||
35 | +runtestall64: | ||
36 | @TMP64=tmp64_$$; \ | ||
37 | if echo hello world | ./minigzip64 | ./minigzip64 -d && ./example64 $$TMP64; then \ | ||
38 | echo ' *** zlib 64-bit test OK ***'; \ | ||