Commit 8c0d11d4 authored by Jakob Unterwurzacher's avatar Jakob Unterwurzacher

all.bash: Run integration tests in fuse/test as well

Also, make the script much less chatty.
parent 8b95cbfd
#!/bin/sh #!/bin/sh
set -eux set -eu
for target in "clean" "install" ; do for target in "clean" "install" ; do
for d in fuse fuse/pathfs fuse/test zipfs unionfs \ for d in fuse fuse/pathfs fuse/test zipfs unionfs \
...@@ -10,13 +10,20 @@ for target in "clean" "install" ; do ...@@ -10,13 +10,20 @@ for target in "clean" "install" ; do
if test "${target}" = "install" && test "${d}" = "fuse/test"; then if test "${target}" = "install" && test "${d}" = "fuse/test"; then
continue continue
fi fi
echo "go ${target} github.com/hanwen/go-fuse/${d}"
go ${target} github.com/hanwen/go-fuse/${d} go ${target} github.com/hanwen/go-fuse/${d}
done done
done done
for d in fuse zipfs unionfs for d in fuse zipfs unionfs fuse/test
do do
(cd $d && go test github.com/hanwen/go-fuse/$d && go test -race github.com/hanwen/go-fuse/$d) (
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 done
make -C benchmark make -C 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