#!/bin/bash
if [ ! -x /usr/bin/valgrind ]; then
echo "SKIP"
exit 0
fi
cat > test.js << EOF
print("hi");
EOF
valgrind --log-file=$LOGDIR/valgrind.log $TILDEFRIENDS test.js