projects
/
ldtrace
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3a7fe9b
)
add strcmp stress test to make test
author
Szabolcs Nagy
<nsz@port70.net>
Tue, 7 Jan 2014 23:17:02 +0000
(
00:17
+0100)
committer
Szabolcs Nagy
<nsz@port70.net>
Tue, 7 Jan 2014 23:17:02 +0000
(
00:17
+0100)
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index
a1de594
..
c0d1a68
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-1,8
+1,9
@@
CFLAGS=-std=c99 -Os -g
LDFLAGS=-g
CC=musl-gcc
-all: wrap.so hello
+all: wrap.so hello
stress
hello: hello.o
+stress: stress.o
wrap.o: head.h func.h
wrap.so: wrap.o
$(CC) $(LDFLAGS) -shared -o $@ $< -ldl -lm -lrt -lcrypt
@@
-10,3
+11,4
@@
clean:
rm -f wrap.so hello *.o
test: all
LD_PRELOAD=./wrap.so ./hello
+ LD_PRELOAD=./wrap.so ./stress 2>&1 |wc -l