Commit 98e77584 authored by Han-Wen Nienhuys's avatar Han-Wen Nienhuys

all.bash: run tests before installing

Change-Id: Iec448c7b731893312a846f6b42c87c660b2399d6
parent 639990cf
#!/bin/sh
set -eu
for d in fuse zipfs unionfs fuse/test
do
(
cd $d
echo "go test github.com/hanwen/go-fuse/$d"
go test github.com/hanwen/go-fuse/$d
echo "go test -race github.com/hanwen/go-fuse/$d"
go test -race github.com/hanwen/go-fuse/$d
)
done
for target in "clean" "install" ; do
for d in fuse fuse/nodefs fuse/pathfs fuse/test zipfs unionfs \
example/hello example/loopback example/zipfs \
......@@ -15,16 +27,6 @@ for target in "clean" "install" ; do
done
done
for d in fuse zipfs unionfs fuse/test
do
(
cd $d
echo "go test github.com/hanwen/go-fuse/$d"
go test github.com/hanwen/go-fuse/$d
echo "go test -race github.com/hanwen/go-fuse/$d"
go test -race github.com/hanwen/go-fuse/$d
)
done
make -C benchmark
for d in benchmark
......
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