newlib: qa checks from RedHat tests suite
This commit is contained in:
parent
b9acacfcc8
commit
7ab8fecd80
2
hacking
2
hacking
@ -1 +1 @@
|
||||
Subproject commit fc63a34c55b62d12c9e4bf0364d26bad783e48f7
|
||||
Subproject commit cd087cebd1af4186e4cd0abdb8c5afd0f32b4e1e
|
@ -3,6 +3,9 @@
|
||||
"Include": [
|
||||
"/arch/$ARCH/include/cflags.json"
|
||||
],
|
||||
"Projects": [
|
||||
"testsuite/"
|
||||
],
|
||||
"Cflags": [
|
||||
"-fstack-check",
|
||||
"-fstack-protector-all",
|
||||
|
51
qa/lib/newlib/testsuite/build.json
Normal file
51
qa/lib/newlib/testsuite/build.json
Normal file
@ -0,0 +1,51 @@
|
||||
{
|
||||
"NewlibTestsuite": {
|
||||
"Include": [
|
||||
"/arch/$ARCH/include/cflags.json"
|
||||
],
|
||||
"Cflags": [
|
||||
"-iquote", "/hacking/cross/pkgs/newlib/src/newlib/testsuite/include/",
|
||||
"-fstack-check",
|
||||
"-Wno-unused-variable",
|
||||
"-Wno-format",
|
||||
"-fstack-protector-all",
|
||||
"/arch/$ARCH/lib/newlib/libc.a",
|
||||
"/arch/$ARCH/lib/newlib/libm.a",
|
||||
"/arch/$ARCH/lib/newlib/libg.a",
|
||||
"-I", "/sys/posix/newlib",
|
||||
"-O2",
|
||||
"-std=gnu11"
|
||||
],
|
||||
"Oflags": [
|
||||
"-static",
|
||||
"-lposix",
|
||||
"-lc"
|
||||
],
|
||||
"Post": [
|
||||
"mkdir -p $JEHANNE/arch/$ARCH/qa/lib/newlib/testsuite",
|
||||
"find -type f -perm /a+x -exec cp {} $JEHANNE/arch/$ARCH/qa/lib/newlib/testsuite/ \\;",
|
||||
"git clean -xdf ."
|
||||
],
|
||||
"Pre": [
|
||||
"rm -f *.tag.*"
|
||||
],
|
||||
"SourceFiles": [
|
||||
"../libposix_customization.c"
|
||||
],
|
||||
"SourceFilesCmd": [
|
||||
"/hacking/cross/pkgs/newlib/src/newlib/testsuite/newlib.string/tstring.c",
|
||||
"/hacking/cross/pkgs/newlib/src/newlib/testsuite/newlib.string/memmove1.c",
|
||||
"/hacking/cross/pkgs/newlib/src/newlib/testsuite/newlib.string/memcpy-1.c",
|
||||
"/hacking/cross/pkgs/newlib/src/newlib/testsuite/newlib.string/strcmp-1.c",
|
||||
"/hacking/cross/pkgs/newlib/src/newlib/testsuite/newlib.stdlib/size_max.c",
|
||||
"/hacking/cross/pkgs/newlib/src/newlib/testsuite/newlib.stdlib/atexit.c",
|
||||
"/hacking/cross/pkgs/newlib/src/newlib/testsuite/newlib.wctype/twctype.c",
|
||||
"/hacking/cross/pkgs/newlib/src/newlib/testsuite/newlib.wctype/tiswctype.c",
|
||||
"/hacking/cross/pkgs/newlib/src/newlib/testsuite/newlib.wctype/twctrans.c",
|
||||
"/hacking/cross/pkgs/newlib/src/newlib/testsuite/newlib.search/hsearchtest.c",
|
||||
"/hacking/cross/pkgs/newlib/src/newlib/testsuite/newlib.locale/UTF-8.c",
|
||||
"/hacking/cross/pkgs/newlib/src/newlib/testsuite/newlib.stdio/nulprintf.c",
|
||||
"/hacking/cross/pkgs/newlib/src/newlib/testsuite/newlib.stdio/swprintf.c"
|
||||
]
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user