Changeset 210 for trunk/test
- Timestamp:
- Jan 29, 2009, 7:54:16 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/testcompile.sh
r183 r210 20 20 # 21 21 22 # dnmalloc + flawfinder + (3 5* 3)23 MAXTEST=1 07; export MAXTEST22 # dnmalloc + flawfinder + (36 * 3) 23 MAXTEST=110; export MAXTEST 24 24 25 25 run_dnmalloc () … … 202 202 { 203 203 fail=0 204 # 205 # Compiler warnings can be OS specific, but at least 206 # on Linux there should be none 207 # 208 isLinux=0 209 uname -a | grep Linux >/dev/null 210 if [ $? -eq 0 ]; then 211 isLinux=1 212 sed --in-place 's/-Wall/-Wall -Werror/' Makefile 213 fi 214 # 204 215 if test x$1 = x0; then 205 216 [ -z "$verbose" ] || log_msg_ok "configure... $TEST"; … … 219 230 fail=1 220 231 fi 232 if [ $isLinux -eq 1 ]; then 233 sed --in-place 's/-Wall -Werror/-Wall/' Makefile 234 fi 221 235 if [ $fail -eq 1 ]; then 222 236 [ -z "$quiet" ] && log_fail $2 ${MAXTEST} "$TEST"; … … 335 349 # test standalone compilation 336 350 # 351 TEST="${S}standalone w/procchk w/portchk w/static${E}" 352 # 353 if test -r "Makefile"; then 354 $MAKE distclean 355 fi 356 # 357 ${TOP_SRCDIR}/configure --quiet --prefix=$PW_DIR --localstatedir=$PW_DIR --with-config-file=$PW_DIR/samhainrc.test --enable-process-check --enable-port-check --enable-static > /dev/null 2>> test_log 358 # 359 let "num = num + 1" >/dev/null 360 testmake $? $num || let "numfail = numfail + 1" >/dev/null 361 let "num = num + 1" >/dev/null 362 run_smatch $? $num || let "numfail = numfail + 1" >/dev/null 363 let "num = num + 1" >/dev/null 364 run_uno $? $num || let "numfail = numfail + 1" >/dev/null 365 366 # 367 # test standalone compilation 368 # 337 369 TEST="${S}standalone w/procchk w/portchk w/stealth${E}" 338 370 #
Note:
See TracChangeset
for help on using the changeset viewer.