From 3fee058f26580a3d247660f157d2ef8d4fb7e12c Mon Sep 17 00:00:00 2001 From: Fabian Arrotin Date: Oct 14 2016 11:36:19 +0000 Subject: Revert "a test for gcc-c++: compile and run a hello world program" --- diff --git a/tests/p_gcc-c++/0-install_gcc-c++.sh b/tests/p_gcc-c++/0-install_gcc-c++.sh deleted file mode 100755 index 2d62f48..0000000 --- a/tests/p_gcc-c++/0-install_gcc-c++.sh +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/bash -# Author: Dries Verachtert - -t_Log "$0 - installing gcc-c++" -t_InstallPackage gcc-c++ diff --git a/tests/p_gcc-c++/1-test_hello_world.sh b/tests/p_gcc-c++/1-test_hello_world.sh deleted file mode 100755 index 527cf02..0000000 --- a/tests/p_gcc-c++/1-test_hello_world.sh +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/bash -# Author: Dries Verachtert - -t_Log "Running $0 - test gcc-c++ with a hello world program" - -CPPBINARY=`mktemp -q --suffix=.gcc-c++_test` - -cat < -int main(int argc, char** argv) { - std::cout << "Hello world!" << std::endl; -} -EOF - -$CPPBINARY | grep -q "Hello world" -t_CheckExitStatus $? - -rm -f $CPPBINARY