Skip to content

Commit 9b0f294

Browse files
committed
Fixed up more tests
1 parent 48a8335 commit 9b0f294

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

usr/tests/CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ add_executable(thr_hello thr_hello.c)
2121
target_compile_options(thr_hello PRIVATE -pthread)
2222
target_link_libraries(thr_hello pthread)
2323

24-
#add_executable(nweb23 nweb23.c)
25-
#target_compile_options(nweb23 PRIVATE -pthread)
26-
#target_link_libraries(nweb23 pthread)
24+
add_executable(nweb23 nweb23.c)
25+
target_compile_options(nweb23 PRIVATE -pthread)
26+
target_link_libraries(nweb23 pthread)
2727

2828
add_executable(hello-tcp hello-tcp.c)
2929

usr/tests/test-malloc-mt.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@
1010
#endif
1111

1212
#ifndef NUM_ITER
13-
#define NUM_ITER 10000
13+
#define NUM_ITER 1000
1414
#endif
1515

1616
#ifndef SIZE
17-
#define SIZE 16384
17+
#define SIZE 16*1024
1818
#endif
1919

2020
__thread void* buf;

usr/tests/test-malloc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#include <malloc.h>
55

66
#ifndef NUM_ITER
7-
#define NUM_ITER 100000
7+
#define NUM_ITER 10000
88
#endif
99

1010
#ifndef SIZE

0 commit comments

Comments
 (0)