From 88bc63c4078ecdbb6fcf606ee1d17f1a2c4d40ac Mon Sep 17 00:00:00 2001 From: 843723683 Date: Jul 30 2019 12:36:40 +0000 Subject: Test for valac: Compile and run a HelloWorld program --- diff --git a/tests/p_valac/0-install_valac.sh b/tests/p_valac/0-install_valac.sh new file mode 100755 index 0000000..3bcc265 --- /dev/null +++ b/tests/p_valac/0-install_valac.sh @@ -0,0 +1,6 @@ +#!/bin/bash +# Author: Lz + +t_Log "$0 - installing valac" +t_InstallPackage vala + diff --git a/tests/p_valac/10-test_valac.sh b/tests/p_valac/10-test_valac.sh new file mode 100755 index 0000000..0397fde --- /dev/null +++ b/tests/p_valac/10-test_valac.sh @@ -0,0 +1,31 @@ +#!/bin/bash + +# Author: Lz + +#t_Log "Running $0 - Testing valac by running it with a basic file" + +# creating source code +FILE='/var/tmp/valac-test.vala' +EXE='/var/tmp/valac-test' + +cat > $FILE <