mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-23 05:42:29 +00:00
Improve mkdeps
Our makefile generator now accepts badly formatted include lines. It's now more hermetic with better error checking in the cosmo repo, and it can be configured to not be hermetic at all.
This commit is contained in:
parent
241f949540
commit
d2f49ca175
69 changed files with 466 additions and 533 deletions
|
@ -91,8 +91,10 @@ void testlib_runtestcases(const testfn_t *start, const testfn_t *end,
|
|||
// the linker sorts into an array.
|
||||
char host[64];
|
||||
struct Dll *e;
|
||||
const char *user;
|
||||
const testfn_t *fn;
|
||||
struct TestAspect *a;
|
||||
user = getenv("USER");
|
||||
strcpy(host, "unknown");
|
||||
gethostname(host, sizeof(host)), errno = 0;
|
||||
for (fn = start; fn != end; ++fn) {
|
||||
|
@ -111,7 +113,7 @@ void testlib_runtestcases(const testfn_t *start, const testfn_t *end,
|
|||
if (warmup) warmup();
|
||||
testlib_clearxmmregisters();
|
||||
STRACE("");
|
||||
STRACE("# running test %t on %s@%s", fn, __getenv(environ, "USER").s, host);
|
||||
STRACE("# running test %t on %s@%s", fn, user, host);
|
||||
(*fn)();
|
||||
STRACE("");
|
||||
STRACE("# tearing down %t", fn);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue