From 6b60d7c5b18f080b80aff126f534bbc661dc7d4f Mon Sep 17 00:00:00 2001 From: Kenichi Maehashi Date: Fri, 3 Jul 2020 03:06:34 +0900 Subject: [PATCH] compatible with sh --- test_cpu.sh | 2 +- test_cupy.sh | 2 +- test_cupy_doc.sh | 2 +- test_cupy_example.sh | 2 +- test_cupy_install.sh | 2 +- test_cupy_slow.sh | 2 +- test_doc.sh | 2 +- test_example.sh | 2 +- test_install.sh | 2 +- test_prev_example.sh | 2 +- test_slow.sh | 2 +- 11 files changed, 11 insertions(+), 11 deletions(-) diff --git a/test_cpu.sh b/test_cpu.sh index 45b6d08e..fec4149a 100755 --- a/test_cpu.sh +++ b/test_cpu.sh @@ -1,6 +1,6 @@ #!/bin/bash -e -source environment.sh +. environment.sh pip install --user -e chainer/ diff --git a/test_cupy.sh b/test_cupy.sh index b6f91ae5..ee3508e1 100755 --- a/test_cupy.sh +++ b/test_cupy.sh @@ -1,6 +1,6 @@ #!/bin/bash -ex -source environment.sh +. environment.sh pip install --user -e cupy/ diff --git a/test_cupy_doc.sh b/test_cupy_doc.sh index dc8cfd4e..5a72170a 100755 --- a/test_cupy_doc.sh +++ b/test_cupy_doc.sh @@ -1,6 +1,6 @@ #!/bin/sh -ex -source environment.sh +. environment.sh pip install --user -e cupy/ diff --git a/test_cupy_example.sh b/test_cupy_example.sh index f362c832..632cb993 100755 --- a/test_cupy_example.sh +++ b/test_cupy_example.sh @@ -1,6 +1,6 @@ #!/bin/sh -ex -source environment.sh +. environment.sh pip install -U pip --user diff --git a/test_cupy_install.sh b/test_cupy_install.sh index ebddefe3..f33b0139 100755 --- a/test_cupy_install.sh +++ b/test_cupy_install.sh @@ -1,6 +1,6 @@ #!/bin/sh -ex -source environment.sh +. environment.sh timeout 20m pip install -vvvv cupy/dist/*.tar.gz --user diff --git a/test_cupy_slow.sh b/test_cupy_slow.sh index 9535d517..673eb17c 100755 --- a/test_cupy_slow.sh +++ b/test_cupy_slow.sh @@ -1,6 +1,6 @@ #!/bin/bash -ex -source environment.sh +. environment.sh pip install --user -e cupy/ diff --git a/test_doc.sh b/test_doc.sh index 6f33b1f1..893fa270 100755 --- a/test_doc.sh +++ b/test_doc.sh @@ -1,6 +1,6 @@ #!/bin/sh -ex -source environment.sh +. environment.sh pip install --user -e cupy/ diff --git a/test_example.sh b/test_example.sh index ea70c470..3e464e40 100755 --- a/test_example.sh +++ b/test_example.sh @@ -1,6 +1,6 @@ #!/bin/sh -ex -source environment.sh +. environment.sh pip install -U pip --user diff --git a/test_install.sh b/test_install.sh index 5d70ca83..61c8c2f8 100755 --- a/test_install.sh +++ b/test_install.sh @@ -1,6 +1,6 @@ #!/bin/sh -ex -source environment.sh +. environment.sh timeout 20m pip install -vvvv chainer/dist/*.tar.gz --user diff --git a/test_prev_example.sh b/test_prev_example.sh index 65839dde..e2d5b795 100755 --- a/test_prev_example.sh +++ b/test_prev_example.sh @@ -1,6 +1,6 @@ #!/bin/sh -ex -source environment.sh +. environment.sh PREV_VER=2.0.0 CHAINER_DIR=chainer-${PREV_VER} diff --git a/test_slow.sh b/test_slow.sh index a7505cb1..39323448 100755 --- a/test_slow.sh +++ b/test_slow.sh @@ -1,6 +1,6 @@ #!/bin/bash -ex -source environment.sh +. environment.sh # Chainer setup script installs specific version of CuPy. # We need to install Chainer first for test.