diff options
author | Steven Schubiger <stsc@refcnt.org> | 2014-12-16 19:11:29 +0100 |
---|---|---|
committer | Steven Schubiger <stsc@refcnt.org> | 2014-12-16 19:11:29 +0100 |
commit | 5703377a911a2b6acd03e988fafd433442930b1f (patch) | |
tree | 45dc42a04e47f2ba42b56d8ea23945ea6a28340d | |
parent | 4d45ddf88f1aa507ff7fae37c412a03b25e25129 (diff) | |
download | colorize-5703377a911a2b6acd03e988fafd433442930b1f.tar.gz colorize-5703377a911a2b6acd03e988fafd433442930b1f.tar.bz2 |
Test that debugging builds compile
-rwxr-xr-x | test.pl | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -10,7 +10,7 @@ use IPC::Open3 qw(open3); use Symbol qw(gensym); use Test::More; -my $tests = 24; +my $tests = 25; my %BUF_SIZE = ( normal => 1024, @@ -172,6 +172,12 @@ SKIP: { like(qx(valgrind $program none/none $infile1 2>&1 >/dev/null), qr/no leaks are possible/, 'valgrind memleaks'); } + { + my $debug = tmpnam(); + is(system("gcc -DDEBUG -o $debug $source"), 0, 'debugging build'); + unlink $debug if -e $debug; + } + print <<'EOT'; Colors ====== |