Test restricting tests to single cpu

This commit is contained in:
Justine Tunney 2025-01-03 19:51:09 -08:00
parent fe01642a20
commit b734eec836
No known key found for this signature in database
GPG key ID: BE714B4575D6E328
3 changed files with 47 additions and 3 deletions

View file

@ -30,6 +30,8 @@
#include "libc/thread/thread.h"
#include "libc/thread/thread2.h"
int disable_limit_process_to_single_cpu;
void SetUp(void) {
if (!IsLinux() && !IsFreebsd() && !IsWindows()) {
exit(0);