Commit 20f160cc authored by Han-Wen Nienhuys's avatar Han-Wen Nienhuys

Add benchmark into all.bash again.

parent 82cd6e7b
...@@ -18,11 +18,8 @@ do ...@@ -18,11 +18,8 @@ do
(cd $d && go test go-fuse/$d ) (cd $d && go test go-fuse/$d )
done done
# TODO - reinstate the benchmark make -C benchmark
exit 1
gomake -C benchmark cstatfs
for d in benchmark for d in benchmark
do do
(cd $d && gotest -test.bench '.*' -test.cpu 1,2 ) go test go-fuse/benchmark -test.bench '.*' -test.cpu 1,2
done done
# Use "gomake install" to build and install this package.
include $(GOROOT)/src/Make.inc
TARG=github.com/hanwen/go-fuse/benchmark
GOFILES=benchmark.go
include $(GOROOT)/src/Make.pkg
cstatfs: statfs.cc cstatfs: statfs.cc
g++ -O2 -Wall -std=c++0x $< `pkg-config fuse --cflags --libs` -o $@ g++ -O2 -Wall -std=c++0x $< `pkg-config fuse --cflags --libs` -o $@
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment