mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-27 14:58:30 +00:00
Stop using .com extension in monorepo
The WIN32 CreateProcess() function does not require an .exe or .com suffix in order to spawn an executable. Now that we have Cosmo bash we're no longer so dependent on the cmd.exe prompt.
This commit is contained in:
parent
c8383f25b4
commit
a6baba1b07
239 changed files with 2092 additions and 2244 deletions
|
@ -32,8 +32,8 @@ COSMOPOLITAN_C_START_
|
|||
/**
|
||||
* Declares benchmark function.
|
||||
*
|
||||
* These only run if (1) the -b flag is passed to the FOO_test.com; and
|
||||
* (2) the unit tests passed. It's just an ordinary function, that gets
|
||||
* These only run if (1) the -b flag is passed to the FOO_test; and (2)
|
||||
* the unit tests passed. It's just an ordinary function, that gets
|
||||
* registered with the linker. It should print things to stdout.
|
||||
*
|
||||
* @see EZBENCH()
|
||||
|
|
|
@ -162,7 +162,7 @@ dontasan int main(int argc, char *argv[]) {
|
|||
// we're done!
|
||||
int status = MIN(255, g_testlib_failed);
|
||||
if (!status && IsRunningUnderMake()) {
|
||||
return 254; // compile.com considers this 0 and propagates output
|
||||
return 254; // compile considers this 0 and propagates output
|
||||
} else if (!status && _weaken(pthread_exit)) {
|
||||
_weaken(pthread_exit)(0);
|
||||
} else {
|
||||
|
|
|
@ -81,10 +81,10 @@ void testlib_runtestcases(const testfn_t *start, const testfn_t *end,
|
|||
// getpid() calls are inserted to help visually see tests in traces
|
||||
// which can be performed on Linux, FreeBSD, OpenBSD, and XNU:
|
||||
//
|
||||
// strace -f o/default/test.com |& less
|
||||
// truss o/default/test.com |& less
|
||||
// ktrace -f trace o/default/test.com </dev/null; kdump -f trace | less
|
||||
// dtruss o/default/test.com |& less
|
||||
// strace -f o/default/test |& less
|
||||
// truss o/default/test |& less
|
||||
// ktrace -f trace o/default/test </dev/null; kdump -f trace | less
|
||||
// dtruss o/default/test |& less
|
||||
//
|
||||
// Test cases are iterable via a decentralized section. Your TEST()
|
||||
// macro inserts .testcase.SUITENAME sections into the binary which
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue