qa: various fixes
This commit is contained in:
parent
72af45032e
commit
f535d68985
|
@ -112,7 +112,7 @@ waiter(int index)
|
|||
if(verbose)
|
||||
print("writer %d: got the wlock in %lld ms\n", getpid(), (end - start) / (1000*1000));
|
||||
wunlock(&afterAWhile);
|
||||
if((end - start) / (1000*1000) > 1300)
|
||||
if((end - start) / (1000*1000) > 5000)
|
||||
postnote(PNGROUP, getpid(), smprint("fail: writer %d got the wlock after %lld ms", getpid(), (end - start) / (1000*1000)));
|
||||
} else {
|
||||
if(verbose)
|
||||
|
@ -127,7 +127,7 @@ waiter(int index)
|
|||
rwakeup(&rCompleted);
|
||||
qunlock(&rl);
|
||||
|
||||
return (end - start) / (1000*1000) < 1300 ? nil : "FAIL";
|
||||
return (end - start) / (1000*1000) < 5000 ? nil : "FAIL";
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
@ -4,19 +4,14 @@
|
|||
"/arch/$ARCH/include/cflags.json"
|
||||
],
|
||||
"Cflags": [
|
||||
"-isystem", "/posix/lib/gcc/x86_64-jehanne/9.2.0/include",
|
||||
"--posixly",
|
||||
"-fstack-check",
|
||||
"-fstack-protector-all",
|
||||
"/pkgs/newlib/x86_64-jehanne/lib/libc.a",
|
||||
"/pkgs/newlib/x86_64-jehanne/lib/libm.a",
|
||||
"/pkgs/newlib/x86_64-jehanne/lib/libg.a",
|
||||
"-I", "/posix/include",
|
||||
"-O2",
|
||||
"-std=gnu11"
|
||||
],
|
||||
"Oflags": [
|
||||
"-static",
|
||||
"-lposix"
|
||||
"-static"
|
||||
],
|
||||
"Install": "/arch/$ARCH/qa/lib/newlib",
|
||||
"Post": [
|
||||
|
@ -71,20 +66,15 @@
|
|||
"/arch/$ARCH/include/cflags.json"
|
||||
],
|
||||
"Cflags": [
|
||||
"-isystem", "/posix/lib/gcc/x86_64-jehanne/9.2.0/include",
|
||||
"--posixly",
|
||||
"-fstack-check",
|
||||
"-fstack-protector-all",
|
||||
"/pkgs/newlib/x86_64-jehanne/lib/libc.a",
|
||||
"/pkgs/newlib/x86_64-jehanne/lib/libm.a",
|
||||
"/pkgs/newlib/x86_64-jehanne/lib/libg.a",
|
||||
"-I", "/posix/include",
|
||||
"-O2",
|
||||
"-DWITH_SIGCHLD",
|
||||
"-std=gnu11"
|
||||
],
|
||||
"Oflags": [
|
||||
"-static",
|
||||
"-lposix"
|
||||
"-static"
|
||||
],
|
||||
"Install": "/arch/$ARCH/qa/lib/newlib/sigchld",
|
||||
"Post": [
|
||||
|
|
|
@ -4,22 +4,17 @@
|
|||
"/arch/$ARCH/include/cflags.json"
|
||||
],
|
||||
"Cflags": [
|
||||
"-isystem", "/posix/lib/gcc/x86_64-jehanne/9.2.0/include",
|
||||
"--posixly",
|
||||
"-iquote", "/hacking/cross/pkgs/newlib/src/newlib/testsuite/include/",
|
||||
"-fstack-check",
|
||||
"-Wno-unused-variable",
|
||||
"-Wno-format",
|
||||
"-fstack-protector-all",
|
||||
"/pkgs/newlib/x86_64-jehanne/lib/libc.a",
|
||||
"/pkgs/newlib/x86_64-jehanne/lib/libm.a",
|
||||
"/pkgs/newlib/x86_64-jehanne/lib/libg.a",
|
||||
"-I", "/posix/include",
|
||||
"-O2",
|
||||
"-std=gnu11"
|
||||
],
|
||||
"Oflags": [
|
||||
"-static",
|
||||
"-lposix"
|
||||
"-static"
|
||||
],
|
||||
"Post": [
|
||||
"mkdir -p $JEHANNE/arch/$ARCH/qa/lib/newlib/testsuite",
|
||||
|
@ -28,6 +23,7 @@
|
|||
"git clean -xdf ."
|
||||
],
|
||||
"Pre": [
|
||||
"cat $JEHANNE/hacking/cross/pkgs/newlib/src/newlib/testsuite/newlib.wctype/twctype.c|sed 's/0x0967/0x0905/g' > twctype.c",
|
||||
"rm -f *.tag.*"
|
||||
],
|
||||
"SourceFiles": [
|
||||
|
@ -40,7 +36,7 @@
|
|||
"/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",
|
||||
"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",
|
||||
|
|
Loading…
Reference in New Issue