File tree Expand file tree Collapse file tree 7 files changed +19
-12
lines changed Expand file tree Collapse file tree 7 files changed +19
-12
lines changed Original file line number Diff line number Diff line change 1
1
#! /bin/sh
2
2
#
3
- # Copyright © 2012-2019 Inria. All rights reserved.
3
+ # Copyright © 2012-2020 Inria. All rights reserved.
4
4
# See COPYING in top-level directory.
5
5
#
6
6
@@ -53,7 +53,12 @@ sed -e 's/^snapshot_version=.*/snapshot_version='$snapshot/ \
53
53
./configure
54
54
make
55
55
56
- if ! make distcheck; then
56
+ if test x$NO_CHECK = xtrue; then
57
+ distcheck=dist
58
+ else
59
+ distcheck=distcheck
60
+ fi
61
+ if ! make $distcheck ; then
57
62
# make distcheck temporarily sets the source directory as R/O.
58
63
# a failure during that R/O step may cause git clean -fdx to fail during the next build
59
64
chmod u+w -R .
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ mkdir build
32
32
cd build
33
33
../configure $HWLOC_CI_JOB1CHECK_CONFOPTS
34
34
make
35
- make check
35
+ test x $NO_CHECK = xtrue || make check
36
36
utils/lstopo/lstopo-no-graphics -v
37
37
cd ..
38
38
@@ -41,12 +41,12 @@ mkdir build-plugins
41
41
cd build-plugins
42
42
$PWD /../configure --enable-plugins $HWLOC_CI_JOB1CHECK_CONFOPTS
43
43
make
44
- make check
44
+ test x $NO_CHECK = xtrue || make check
45
45
tests/hwloc/wrapper.sh utils/lstopo/lstopo-no-graphics -v
46
46
tests/hwloc/wrapper.sh utils/hwloc/hwloc-info --support
47
47
cd ..
48
48
49
49
# check renaming
50
- (cd build/tests/hwloc/rename && make check)
50
+ test x $NO_CHECK = xtrue || (cd build/tests/hwloc/rename && make check)
51
51
52
52
exit 0
Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ COVBALL=myproject.tgz
55
55
# run
56
56
./configure --enable-plugins
57
57
cov-build --dir ${COVDIR} make all
58
- cov-build --dir ${COVDIR} make check
58
+ test x $NO_CHECK = xtrue || cov-build --dir ${COVDIR} make check
59
59
tar cfvz ${COVBALL} ${COVDIR}
60
60
curl --form file=@${COVBALL} \
61
61
--form " token=<${COVERITY_TOKEN_FILE} " \
Original file line number Diff line number Diff line change 1
1
#! /bin/sh
2
2
#
3
- # Copyright © 2012-2018 Inria. All rights reserved.
3
+ # Copyright © 2012-2020 Inria. All rights reserved.
4
4
# See COPYING in top-level directory.
5
5
#
6
6
@@ -29,7 +29,7 @@ mkdir build
29
29
cd build
30
30
../configure
31
31
make
32
- make check
32
+ test x $NO_CHECK = xtrue || make check
33
33
utils/lstopo/lstopo-no-graphics -v
34
34
cd ..
35
35
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ mkdir build-plugins-debug
32
32
cd build-plugins-debug
33
33
../configure --enable-plugins --enable-debug $HWLOC_CI_JOB3DEBUG_CONFOPTS
34
34
make
35
- make check
35
+ test x $NO_CHECK = xtrue || make check
36
36
tests/hwloc/wrapper.sh utils/lstopo/lstopo-no-graphics
37
37
cd ..
38
38
Original file line number Diff line number Diff line change 1
1
#! /bin/sh
2
2
#
3
- # Copyright © 2012-2018 Inria. All rights reserved.
3
+ # Copyright © 2012-2020 Inria. All rights reserved.
4
4
# See COPYING in top-level directory.
5
5
#
6
6
@@ -22,6 +22,8 @@ docheck=1
22
22
doinstall=1
23
23
confopts=
24
24
25
+ test x$NO_CHECK = xtrue && docheck=0
26
+
25
27
while test $# -gt 0; do
26
28
if test " $1 " = " --no-tar" ; then
27
29
dotar=0
Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ export LDFLAGS="--coverage"
60
60
./configure --enable-plugins
61
61
make V=1 | tee hwloc-build.log
62
62
# Execute unitary tests (autotest)
63
- make check
63
+ test x $NO_CHECK = xtrue || make check
64
64
65
65
# Collect coverage data
66
66
find . -path ' */.libs/*.gcno' -exec rename ' s@/.libs/@/@' {} \;
@@ -74,7 +74,7 @@ export CFLAGS="-Wall -std=gnu99"
74
74
unset LDFLAGS
75
75
scan-build -plist --intercept-first --analyze-headers -o analyzer_reports ./configure --enable-plugins | tee scan-build.log
76
76
scan-build -plist --intercept-first --analyze-headers -o analyzer_reports make | tee -a scan-build.log
77
- scan-build -plist --intercept-first --analyze-headers -o analyzer_reports make check | tee -a scan-build.log
77
+ test x $NO_CHECK = xtrue || scan-build -plist --intercept-first --analyze-headers -o analyzer_reports make check | tee -a scan-build.log
78
78
79
79
# Run cppcheck analysis
80
80
SOURCES_TO_ANALYZE=" hwloc netloc tests utils"
You can’t perform that action at this time.
0 commit comments