forked from sig_core/toolkit
10 lines
205 B
Bash
Executable File
10 lines
205 B
Bash
Executable File
#!/bin/bash
|
|
r_log "gcc" "Ensure g++ can build a simple program"
|
|
OUTPUTPROG=$(mktemp)
|
|
|
|
g++ -x c++ ./common/files/hello.cpp -o $OUTPUTPROG
|
|
$OUTPUTPROG | grep -q "Hello!"
|
|
r_checkExitStatus $?
|
|
|
|
rm $OUTPUTPROG
|