Skip to content

Commit

Permalink
scripts: enabled package tests support for expat, gdbm, gmp, isl, lib…
Browse files Browse the repository at this point in the history
…iconv, mingw-w64-crt, mpc, mpfr, openssl, ppl, tcl, tk, winpthreads, zlib
  • Loading branch information
Furniel committed Jul 26, 2018
1 parent f0d2edf commit fb926ae
Show file tree
Hide file tree
Showing 16 changed files with 106 additions and 2 deletions.
12 changes: 12 additions & 0 deletions patches/expat/expat_mingw_tests_fix.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
diff -urN expat-2.2.5_orig/run.sh.in expat-2.2.5/run.sh.in
--- expat-2.2.5_orig/run.sh.in 2017-09-03 17:47:40.000000000 +0300
+++ expat-2.2.5/run.sh.in 2018-07-25 12:44:19.966587400 +0300
@@ -4,7 +4,7 @@

case "@host@" in
*-mingw*)
- exec wine "$@"
+ exec "$@"
;;
*)
exec "$@"
10 changes: 9 additions & 1 deletion scripts/expat.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,9 @@ PKG_PRIORITY=extra

#

PKG_PATCHES=()
PKG_PATCHES=(
expat/expat_mingw_tests_fix.patch
)

#

Expand Down Expand Up @@ -75,6 +77,12 @@ PKG_MAKE_FLAGS=(

#

PKG_TESTSUITE_FLAGS=(
check
)

#

PKG_INSTALL_FLAGS=(
-j$JOBS
install
Expand Down
6 changes: 6 additions & 0 deletions scripts/gdbm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,12 @@ PKG_MAKE_FLAGS=(

#

PKG_TESTSUITE_FLAGS=(
check
)

#

PKG_INSTALL_FLAGS=(
-j$JOBS
install
Expand Down
6 changes: 6 additions & 0 deletions scripts/gmp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,12 @@ PKG_MAKE_FLAGS=(

#

PKG_TESTSUITE_FLAGS=(
check
)

#

PKG_INSTALL_FLAGS=(
-j$JOBS
$( [[ $STRIP_ON_INSTALL == yes ]] && echo install-strip || echo install )
Expand Down
6 changes: 6 additions & 0 deletions scripts/isl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,12 @@ PKG_MAKE_FLAGS=(

#

PKG_TESTSUITE_FLAGS=(
check
)

#

PKG_INSTALL_FLAGS=(
-j$JOBS
$( [[ $STRIP_ON_INSTALL == yes ]] && echo install-strip || echo install )
Expand Down
6 changes: 6 additions & 0 deletions scripts/libffi.sh
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,12 @@ PKG_MAKE_FLAGS=(

#

PKG_TESTSUITE_FLAGS=(
#check
)

#

PKG_INSTALL_FLAGS=(
-j$JOBS
install
Expand Down
6 changes: 6 additions & 0 deletions scripts/libiconv.sh
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,12 @@ PKG_MAKE_FLAGS=(

#

PKG_TESTSUITE_FLAGS=(
check
)

#

PKG_INSTALL_FLAGS=(
-j$JOBS
$( [[ $STRIP_ON_INSTALL == yes ]] && echo install-strip || echo install )
Expand Down
6 changes: 6 additions & 0 deletions scripts/mingw-w64-crt.sh
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,12 @@ PKG_MAKE_FLAGS=(

#

PKG_TESTSUITE_FLAGS=(
check
)

#

PKG_INSTALL_FLAGS=(
-j$JOBS
$( [[ $STRIP_ON_INSTALL == yes ]] && echo install-strip || echo install )
Expand Down
6 changes: 6 additions & 0 deletions scripts/mpc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,12 @@ PKG_MAKE_FLAGS=(

#

PKG_TESTSUITE_FLAGS=(
check
)

#

PKG_INSTALL_FLAGS=(
-j$JOBS
$( [[ $STRIP_ON_INSTALL == yes ]] && echo install-strip || echo install )
Expand Down
6 changes: 6 additions & 0 deletions scripts/mpfr.sh
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,12 @@ PKG_MAKE_FLAGS=(

#

PKG_TESTSUITE_FLAGS=(
check
)

#

PKG_INSTALL_FLAGS=(
-j$JOBS
$( [[ $STRIP_ON_INSTALL == yes ]] && echo install-strip || echo install )
Expand Down
6 changes: 6 additions & 0 deletions scripts/openssl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,12 @@ PKG_MAKE_FLAGS=(

#

PKG_TESTSUITE_FLAGS=(
test
)

#

PKG_INSTALL_FLAGS=(
# -j$JOBS
install
Expand Down
6 changes: 6 additions & 0 deletions scripts/ppl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,12 @@ PKG_MAKE_FLAGS=(

#

PKG_TESTSUITE_FLAGS=(
check
)

#

PKG_INSTALL_FLAGS=(
-j$JOBS
$( [[ $STRIP_ON_INSTALL == yes ]] && echo install-strip || echo install )
Expand Down
6 changes: 6 additions & 0 deletions scripts/tcl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,12 @@ PKG_MAKE_FLAGS=(

#

PKG_TESTSUITE_FLAGS=(
test
)

#

PKG_INSTALL_FLAGS=(
-j$JOBS
#TCL_LIBRARY=$LIBS_DIR/lib/tcl8.6
Expand Down
8 changes: 7 additions & 1 deletion scripts/tk.sh
Original file line number Diff line number Diff line change
Expand Up @@ -95,13 +95,19 @@ PKG_EXECUTE_AFTER_CONFIGURE=(
#

PKG_MAKE_FLAGS=(
-j1
-j$JOBS
TCL_LIBRARY=$LIBS_DIR/lib/tk8.6
all
)

#

PKG_TESTSUITE_FLAGS=(
test
)

#

PKG_INSTALL_FLAGS=(
-j$JOBS
TK_LIBRARY=$LIBS_DIR/lib/tk8.6
Expand Down
6 changes: 6 additions & 0 deletions scripts/winpthreads.sh
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,12 @@ PKG_MAKE_FLAGS=(

#

PKG_TESTSUITE_FLAGS=(
check
)

#

PKG_INSTALL_FLAGS=(
-j$JOBS
$( [[ $STRIP_ON_INSTALL == yes ]] && echo install-strip || echo install )
Expand Down
6 changes: 6 additions & 0 deletions scripts/zlib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,12 @@ PKG_MAKE_FLAGS=(

#

PKG_TESTSUITE_FLAGS=(
check
)

#

PKG_INSTALL_FLAGS=(
STRIP=true
install
Expand Down

0 comments on commit fb926ae

Please sign in to comment.