diff options
Diffstat (limited to 'runv')
-rwxr-xr-x | runv | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -1,2 +1,5 @@ -#!/bin/bash -valgrind -q --track-origins=yes ./toc test.toc +#!/bin/sh +valgrind -q --track-origins=yes ./toc test.toc || exit 1 +if [ "$1" = "c" ]; then + gcc out.c && ./a.out +fi |