Skip to content

Commit 69674f6

Browse files
author
Daniel Kroening
authored
Merge pull request #753 from forejtv/bugfix/master-fixes
Fix Travis and test problems on master
2 parents 49163a4 + ea1f475 commit 69674f6

File tree

14 files changed

+61
-19
lines changed

14 files changed

+61
-19
lines changed

.travis.yml

Lines changed: 48 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,27 @@ matrix:
5858
# env: COMPILER=g++-5 SAN_FLAGS="-fsanitize=undefined -fno-sanitize-recover -fno-omit-frame-pointer"
5959
env: COMPILER="g++-5"
6060

61+
# Ubuntu Linux with glibc using g++-5, debug mode
62+
- os: linux
63+
sudo: false
64+
compiler: gcc
65+
cache: ccache
66+
addons:
67+
apt:
68+
sources:
69+
- ubuntu-toolchain-r-test
70+
packages:
71+
- libwww-perl
72+
- g++-5
73+
- libubsan0
74+
before_install:
75+
- mkdir bin ; ln -s /usr/bin/gcc-5 bin/gcc
76+
# env: COMPILER=g++-5 SAN_FLAGS="-fsanitize=undefined -fno-sanitize-recover -fno-omit-frame-pointer"
77+
env:
78+
- COMPILER="g++-5"
79+
- EXTRA_CXXFLAGS="-DDEBUG"
80+
script: echo "Not running any tests for a debug build."
81+
6182
# Ubuntu Linux with glibc using clang++-3.7
6283
- os: linux
6384
sudo: false
@@ -81,6 +102,31 @@ matrix:
81102
- COMPILER="ccache clang++-3.7 -Qunused-arguments -fcolor-diagnostics"
82103
- CCACHE_CPP2=yes
83104

105+
# Ubuntu Linux with glibc using clang++-3.7, debug mode
106+
- os: linux
107+
sudo: false
108+
compiler: clang
109+
cache: ccache
110+
addons:
111+
apt:
112+
sources:
113+
- ubuntu-toolchain-r-test
114+
- llvm-toolchain-precise-3.7
115+
packages:
116+
- libwww-perl
117+
- clang-3.7
118+
- libstdc++-5-dev
119+
- libubsan0
120+
before_install:
121+
- mkdir bin ; ln -s /usr/bin/clang-3.7 bin/gcc
122+
- export CCACHE_CPP2=yes
123+
# env: COMPILER=clang++-3.7 SAN_FLAGS="-fsanitize=undefined -fno-sanitize-recover=undefined,integer -fno-omit-frame-pointer"
124+
env:
125+
- COMPILER="ccache clang++-3.7 -Qunused-arguments -fcolor-diagnostics"
126+
- CCACHE_CPP2=yes
127+
- EXTRA_CXXFLAGS="-DDEBUG"
128+
script: echo "Not running any tests for a debug build."
129+
84130
- env: NAME="CPP-LINT"
85131
install:
86132
script: scripts/travis_lint.sh
@@ -95,13 +141,9 @@ matrix:
95141
install:
96142
- COMMAND="make -C src minisat2-download" &&
97143
eval ${PRE_COMMAND} ${COMMAND}
98-
- COMMAND="make -C src CXX=\"$COMPILER\" CXXFLAGS=\"-Wall -O2 -g -Werror -Wno-deprecated-register -pedantic -Wno-sign-compare\" -j2" &&
99-
eval ${PRE_COMMAND} ${COMMAND}
100-
- COMMAND="make -C src CXX=\"$COMPILER\" CXXFLAGS=$FLAGS -j2 cegis.dir clobber.dir memory-models.dir musketeer.dir" &&
101-
eval ${PRE_COMMAND} ${COMMAND}
102-
- COMMAND="make -C src clean" &&
144+
- COMMAND="make -C src CXX=\"$COMPILER\" CXXFLAGS=\"-Wall -O2 -g -Werror -Wno-deprecated-register -pedantic -Wno-sign-compare $EXTRA_CXXFLAGS\" -j2" &&
103145
eval ${PRE_COMMAND} ${COMMAND}
104-
- COMMAND="make -C src CXX=$COMPILER CXXFLAGS=\"-Wall -O0 -ggdb3 -Werror -Wno-deprecated-register -pedantic -Wno-sign-compare -DDEBUG\" -j2" &&
146+
- COMMAND="make -C src CXX=\"$COMPILER\" CXXFLAGS=\"$FLAGS $EXTRA_CXXFLAGS\" -j2 cegis.dir clobber.dir memory-models.dir musketeer.dir" &&
105147
eval ${PRE_COMMAND} ${COMMAND}
106148

107149
script:

regression/goto-analyzer/constant_propagation_01/test.desc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
CORE
1+
FUTURE
22
constant_propagation1.c
33
--constants --simplify out.goto
44
^EXIT=0$

regression/goto-analyzer/constant_propagation_02/test.desc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
CORE
1+
FUTURE
22
constant_propagation_02.c
33
--constants --simplify out.goto
44
^EXIT=0$

regression/goto-analyzer/constant_propagation_03/test.desc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
CORE
1+
FUTURE
22
constant_propagation_03.c
33
--constants --simplify out.goto
44
^EXIT=0$

regression/goto-analyzer/constant_propagation_04/test.desc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
CORE
1+
FUTURE
22
constant_propagation_04.c
33
--constants --simplify out.goto
44
^EXIT=0$

regression/goto-analyzer/constant_propagation_05/test.desc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
CORE
1+
FUTURE
22
constant_propagation_05.c
33
--constants --verify
44
^EXIT=0$

regression/goto-analyzer/constant_propagation_06/test.desc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
CORE
1+
FUTURE
22
constant_propagation_06.c
33
--intervals --verify
44
^EXIT=0$

regression/goto-analyzer/constant_propagation_07/test.desc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
CORE
1+
FUTURE
22
constant_propagation_07.c
33
--constants --verify
44
^EXIT=0$

regression/goto-analyzer/constant_propagation_09/test.desc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
CORE
1+
FUTURE
22
constant_propagation_09.c
33
--intervals --verify
44
^EXIT=0$

regression/goto-analyzer/constant_propagation_10/test.desc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
CORE
1+
FUTURE
22
constant_propagation_10.c
33
--constants --simplify out.goto
44
^EXIT=0$

regression/goto-analyzer/intervals1/test.desc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
CORE
1+
KNOWNBUG
22
intervals1.c
33
--intervals --verify
44
^EXIT=0$

regression/goto-analyzer/intervals3/test.desc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
CORE
1+
KNOWNBUG
22
intervals3.c
33
--intervals --verify
44
^EXIT=0$

regression/goto-analyzer/intervals5/test.desc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
CORE
1+
KNOWNBUG
22
intervals5.c
33
--intervals --verify
44
^EXIT=0$

regression/goto-analyzer/intervals9/test.desc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
CORE
1+
KNOWNBUG
22
intervals9.c
33
--intervals --verify
44
^EXIT=0$

0 commit comments

Comments
 (0)