Makefile: make test target use thread
authorJens Axboe <axboe@fb.com>
Mon, 13 Mar 2017 03:04:45 +0000 (21:04 -0600)
committerJens Axboe <axboe@fb.com>
Mon, 13 Mar 2017 03:04:45 +0000 (21:04 -0600)
Some platforms don't support process shared mutexes. For the basic
Makefile test case, specify threads to avoid the warning.

Signed-off-by: Jens Axboe <axboe@fb.com>
Makefile

index 41124102442040feac88f5dccea17c50161f4750..37150c69747cc0db120b027a334199fcdce5a892 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -449,7 +449,7 @@ doc: tools/plot/fio2gnuplot.1
        @man -t tools/hist/fiologparser_hist.py.1 | ps2pdf - fiologparser_hist.pdf
 
 test: fio
-       ./fio --minimal --ioengine=null --runtime=1s --name=nulltest --rw=randrw --iodepth=2 --norandommap --random_generator=tausworthe64 --size=16T --name=verifynulltest --rw=write --verify=crc32c --verify_state_save=0 --size=100M
+       ./fio --minimal --thread --ioengine=null --runtime=1s --name=nulltest --rw=randrw --iodepth=2 --norandommap --random_generator=tausworthe64 --size=16T --name=verifynulltest --rw=write --verify=crc32c --verify_state_save=0 --size=100M
 
 install: $(PROGS) $(SCRIPTS) tools/plot/fio2gnuplot.1 FORCE
        $(INSTALL) -m 755 -d $(DESTDIR)$(bindir)