libreport/tests/smoke.sh
Michal Fabik 9785cc8667 Add simple smoke test
Build and execute a minimal program using the libreport library
2021-03-22 14:59:53 +01:00

6 lines
131 B
Bash
Executable File

#!/usr/bin/bash
echo "int main(){libreport_init();}" | gcc -x c -lreport -Wno-implicit-function-declaration -
./a.out
rm -f a.out