Make script less verbose
This commit is contained in:
parent
c31331d085
commit
0f4eac657d
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
set -e # abort on error
|
set -e # abort on error
|
||||||
set -x # be verbose
|
#set -x # be verbose
|
||||||
|
|
||||||
if [[ $(pwd) == */test/cfg ]] ; then # we are in test/cfg
|
if [[ $(pwd) == */test/cfg ]] ; then # we are in test/cfg
|
||||||
CPPCHECK="../../cppcheck"
|
CPPCHECK="../../cppcheck"
|
||||||
|
@ -121,6 +121,5 @@ else
|
||||||
set -e
|
set -e
|
||||||
EXTRACTED_DEFINES=$(echo "$EXTRACTED_DEFINES" | sed 's/<define name="/#define /g' | sed 's/" value="/ /g' | sed 's/"\/>//g')
|
EXTRACTED_DEFINES=$(echo "$EXTRACTED_DEFINES" | sed 's/<define name="/#define /g' | sed 's/" value="/ /g' | sed 's/"\/>//g')
|
||||||
echo "$EXTRACTED_DEFINES" | gcc -fsyntax-only -xc -Werror -
|
echo "$EXTRACTED_DEFINES" | gcc -fsyntax-only -xc -Werror -
|
||||||
set -x
|
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue