aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Uvarov <maxim.uvarov@linaro.org>2017-06-16 01:02:20 +0300
committerMaxim Uvarov <maxim.uvarov@linaro.org>2017-06-16 01:02:20 +0300
commit4be5550cf4fe9367c1c8797a08ce47622aa16254 (patch)
tree0d0d6f43e41b58574e07ebca7ff89a8761c462e4
parentda463e6ee324a3de8d3f3445dd60a16f17174a2f (diff)
downloadcheck-odp-4be5550cf4fe9367c1c8797a08ce47622aa16254.tar.gz
run distcheck under root as all other tests
Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
-rwxr-xr-xbuild.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/build.sh b/build.sh
index 335ffb0..afcb369 100755
--- a/build.sh
+++ b/build.sh
@@ -315,7 +315,7 @@ elif [[ ${SPARSE} -eq 1 ]]; then
make CC=cgcc -Wattributes -Wno-error -Wdefault-bitfield-sign -Wparen-string -Wshadow -Wbitwise -Wcast-to-as -Wdo-while -Wnon-pointer-null -Wptr-subtraction-blows
elif [[ ${DISTCHECK} -eq 1 ]]; then
isdebug echo "build: before make distcheck"
- make distcheck
+ run_with_sudo make distcheck
elif [[ ${E_VALGRIND} -eq 1 ]]; then
isdebug echo "build: before make -j ${NUM_CPUS}"
exit_on_error make -j ${NUM_CPUS}