diff options
author | Burt P <pburt0@gmail.com> | 2017-07-10 17:06:59 -0500 |
---|---|---|
committer | Leandro Pereira <leandro@hardinfo.org> | 2017-07-12 19:38:41 -0700 |
commit | 99c1a9989589e4253ee47d518fe2d76726df2a2b (patch) | |
tree | 7644b574b28b4a8f9f0c91b68d31a1c728aa5637 | |
parent | afb7d6bc6a6a3c037d856b91878a63d83ff47790 (diff) |
test.sh: create a dir for the test build
Signed-off-by: Burt P <pburt0@gmail.com>
-rw-r--r-- | test/test.sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/test.sh b/test/test.sh index 17548382..38a3377e 100644 --- a/test/test.sh +++ b/test/test.sh @@ -4,8 +4,11 @@ DATADER=`pwd` do_test() { ARCH="$1" CPUINFO="$DATADER/$2" - cmake .. -DOVRARCH=$ARCH -DOVRCPUINFO=\"$CPUINFO\" + mkdir "build-$ARCH" + cd "build-$ARCH" + cmake ../.. -DOVRARCH=$ARCH -DOVRCPUINFO=\"$CPUINFO\" make + cd .. } #do_test x86 data/x86_pent_cpuinfo |