source: tests/GuiChecks/molecuilderguitest.in@ 9f1f942

Last change on this file since 9f1f942 was 9f1f942, checked in by Frederik Heber <heber@…>, 10 years ago

Molecuilderguitest now does checking with DRD when valgrind is given.

  • this should be more helpful than memgrind that issues a lot of errors and warnings about the Qt lib side of the code which we can do nothing about.
  • Property mode set to 100755
File size: 379 bytes
Line 
1#!/bin/sh
2#
3# wrapper for testing molecuildergui
4
5. ../../atlocal
6
7if test ! -z ${valgrind}
8then
9G_SLICE=always-malloc G_DEBUG=gc-friendly \
10libtool --mode=execute \
11${valgrind} -v \
12--tool=drd \
13--vgdb=yes \
14--vgdb-error=1 \
15"${AUTOTEST_PATH}/molecuildergui" --test-single \
16${1+"$@"}
17else
18"${AUTOTEST_PATH}/molecuildergui" --test-single \
19${1+"$@"}
20fi
21
22status=$?
23
24exit $status
Note: See TracBrowser for help on using the repository browser.