summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMitya Selivanov <automainint@guattari.tech>2024-06-06 13:01:42 +0200
committerMitya Selivanov <automainint@guattari.tech>2024-06-06 13:01:42 +0200
commitad3efc4656ffd1031668475d0a3f673a36b8723a (patch)
tree04ccb618cb1d4313ddad53d90a5e33f64dcee2bd
parent2aebf2101df539e39c2320d32b1d389271c6cc8a (diff)
downloadkit-ad3efc4656ffd1031668475d0a3f673a36b8723a.zip
[build] debug
-rwxr-xr-xbuild.c31
1 files changed, 17 insertions, 14 deletions
diff --git a/build.c b/build.c
index e2dc8b9..9453b6f 100755
--- a/build.c
+++ b/build.c
@@ -550,21 +550,24 @@ i32 main(i32 argc, c8 **argv) {
}
fflush(stdout);
- /*
- system(fmt("\"." DELIM "%s" DELIM "test_interprocess\" clean", destination));
- if (OS == WINDOWS)
- system(fmt("start \"\" /b %s/test_interprocess\" reader", destination));
- else
- system(fmt("\"." DELIM "%s" DELIM "test_interprocess\" reader &", destination));
- code = system(fmt("\"." DELIM "%s" DELIM "test_interprocess\" writer", destination));
- if (code == 0)
- printf("interprocess - OK\n");
- else {
- printf("interprocess - FAILED (code %d)\n", code);
- status = 1;
+ // FIXME
+ // Fix interprocess for Windows.
+
+ if (OS != WINDOWS) {
+ system(fmt("\"." DELIM "%s" DELIM "test_interprocess\" clean", destination));
+ if (OS == WINDOWS)
+ system(fmt("start \"\" /b %s/test_interprocess\" reader", destination));
+ else
+ system(fmt("\"." DELIM "%s" DELIM "test_interprocess\" reader &", destination));
+ code = system(fmt("\"." DELIM "%s" DELIM "test_interprocess\" writer", destination));
+ if (code == 0)
+ printf("interprocess - OK\n");
+ else {
+ printf("interprocess - FAILED (code %d)\n", code);
+ status = 1;
+ }
+ fflush(stdout);
}
- fflush(stdout);
- */
printf("\nAll done.\n");
return status;