Require GCC in test build; adjust test messages
This commit is contained in:
parent
a5f24502c1
commit
aa655511eb
@ -1,8 +1,11 @@
|
|||||||
#!/usr/bin/bash
|
#!/usr/bin/bash
|
||||||
|
|
||||||
gcc -x c -o smoke_test -lreport -Wno-implicit-function-declaration - <<EOF
|
gcc -x c -o smoke_test -lreport -Wno-implicit-function-declaration - <<EOF
|
||||||
|
#include <stdio.h>
|
||||||
int main(void) {
|
int main(void) {
|
||||||
libreport_init();
|
libreport_init();
|
||||||
|
printf("libreport initialized OK\n");
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
EOF
|
EOF
|
||||||
./smoke_test
|
./smoke_test
|
@ -1,12 +1,14 @@
|
|||||||
summary: Basic smoke test for libreport
|
summary: Basic smoke test for libreport
|
||||||
require: gcc
|
|
||||||
prepare:
|
prepare:
|
||||||
how: install
|
how: install
|
||||||
# Do not attempt to install conflicting subpackages.
|
# Do not attempt to install conflicting subpackages.
|
||||||
exclude:
|
exclude:
|
||||||
- abrt-atomic
|
- abrt-atomic
|
||||||
- python3-abrt-container-addon
|
- python3-abrt-container-addon
|
||||||
|
# Prerequisite for smoke testing liblibreport.
|
||||||
|
package:
|
||||||
|
- gcc
|
||||||
execute:
|
execute:
|
||||||
script: |
|
script: |
|
||||||
tests/smoke.sh
|
tests/library-smoke.sh
|
||||||
report-cli --version
|
report-cli --version
|
||||||
|
Loading…
Reference in New Issue
Block a user