summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--runtime/tests/test.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/runtime/tests/test.h b/runtime/tests/test.h
index b36ad557..3139cfec 100644
--- a/runtime/tests/test.h
+++ b/runtime/tests/test.h
@@ -216,8 +216,19 @@ void *vmalloc (size_t len)
#endif
#define dlog(args...) printf(args);
+#define _stp_log(args...) printf(args);
-#include "../alloc.h"
+#define STP_NUM_STRINGS 5
+#define NR_CPUS 2
+
+int smp_processor_id(void)
+{
+ return 0;
+}
+
+#define vscnprintf vsnprintf
+
+#include "../alloc.c"
#include "../map.h"
#include "../map.c"