git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8067621
)
scripts: stop build test after first error
author
Thomas Monjalon
<thomas.monjalon@6wind.com>
Tue, 8 Mar 2016 15:43:50 +0000
(16:43 +0100)
committer
Thomas Monjalon
<thomas.monjalon@6wind.com>
Thu, 7 Apr 2016 21:05:47 +0000
(23:05 +0200)
Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>
scripts/test-build.sh
patch
|
blob
|
history
diff --git
a/scripts/test-build.sh
b/scripts/test-build.sh
index
ffad7ee
..
ffa7bea
100755
(executable)
--- a/
scripts/test-build.sh
+++ b/
scripts/test-build.sh
@@
-64,6
+64,7
@@
print_help () {
J=$DPDK_MAKE_JOBS
short=false
+maxerr=-Wfatal-errors
while getopts hj:s ARG ; do
case $ARG in
j ) J=$OPTARG ;;
@@
-146,7
+147,7
@@
for conf in $configs ; do
config $dir $target $options
echo "================== Build $dir"
- make -j$J EXTRA_CFLAGS="$DPDK_DEP_CFLAGS" \
+ make -j$J EXTRA_CFLAGS="$
maxerr $
DPDK_DEP_CFLAGS" \
EXTRA_LDFLAGS="$DPDK_DEP_LDFLAGS" O=$dir
! $short || break
echo "================== Build examples for $dir"