You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by mc...@apache.org on 2020/05/01 20:27:15 UTC
[cassandra-builds] branch master updated: Cassandra's `-Dtmp.dir`
test option wants absolute paths
This is an automated email from the ASF dual-hosted git repository.
mck pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cassandra-builds.git
The following commit(s) were added to refs/heads/master by this push:
new 746e7e6 Cassandra's `-Dtmp.dir` test option wants absolute paths
746e7e6 is described below
commit 746e7e605c41a6f8b3f9ab44111b2816169dbfa0
Author: mck <mc...@apache.org>
AuthorDate: Fri May 1 22:25:14 2020 +0200
Cassandra's `-Dtmp.dir` test option wants absolute paths
ref: https://ci-cassandra.apache.org/job/Cassandra-trunk/lastSuccessfulBuild/testReport/org.apache.cassandra.io.util/RandomAccessReaderTest/testOneSegment_compression/
---
build-scripts/cassandra-test.sh | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/build-scripts/cassandra-test.sh b/build-scripts/cassandra-test.sh
index f01d225..2bc3cb9 100755
--- a/build-scripts/cassandra-test.sh
+++ b/build-scripts/cassandra-test.sh
@@ -31,25 +31,25 @@ _main() {
case $target in
"stress-test" | "fqltool-test")
- ant $target -Dtmp.dir="./tmp" || echo "failed $target"
+ ant $target -Dtmp.dir="$(pwd)/tmp" || echo "failed $target"
;;
"test")
- ant testclasslist -Dtest.classlistfile=<( _list_tests "unit" ) -Dtmp.dir="./tmp" || echo "failed $target"
+ ant testclasslist -Dtest.classlistfile=<( _list_tests "unit" ) -Dtmp.dir="$(pwd)/tmp" || echo "failed $target"
;;
"test-cdc")
- ant testclasslist-cdc -Dtest.classlistfile=<( _list_tests "unit" ) -Dtmp.dir="./tmp" || echo "failed $target"
+ ant testclasslist-cdc -Dtest.classlistfile=<( _list_tests "unit" ) -Dtmp.dir="$(pwd)/tmp" || echo "failed $target"
;;
"test-compression")
- ant testclasslist-compression -Dtest.classlistfile=<( _list_tests "unit" ) -Dtmp.dir="./tmp" || echo "failed $target"
+ ant testclasslist-compression -Dtest.classlistfile=<( _list_tests "unit" ) -Dtmp.dir="$(pwd)/tmp" || echo "failed $target"
;;
"test-burn")
- ant testclasslist -Dtest.classlistprefix=burn -Dtest.timeout=$(_timeout_for "test.burn.timeout") -Dtest.classlistfile=<( _list_tests "burn" ) -Dtmp.dir="./tmp" || echo "failed $target"
+ ant testclasslist -Dtest.classlistprefix=burn -Dtest.timeout=$(_timeout_for "test.burn.timeout") -Dtest.classlistfile=<( _list_tests "burn" ) -Dtmp.dir="$(pwd)/tmp" || echo "failed $target"
;;
"long-test")
- ant testclasslist -Dtest.classlistprefix=long -Dtest.timeout=$(_timeout_for "test.long.timeout") -Dtest.classlistfile=<( _list_tests "long" ) -Dtmp.dir="./tmp" || echo "failed $target"
+ ant testclasslist -Dtest.classlistprefix=long -Dtest.timeout=$(_timeout_for "test.long.timeout") -Dtest.classlistfile=<( _list_tests "long" ) -Dtmp.dir="$(pwd)/tmp" || echo "failed $target"
;;
"jvm-dtest")
- ant testclasslist -Dtest.classlistprefix=distributed -Dtest.timeout=$(_timeout_for "test.distributed.timeout") -Dtest.classlistfile=<( _list_distributed_tests_no_upgrade ) -Dtmp.dir="./tmp" || echo "failed $target"
+ ant testclasslist -Dtest.classlistprefix=distributed -Dtest.timeout=$(_timeout_for "test.distributed.timeout") -Dtest.classlistfile=<( _list_distributed_tests_no_upgrade ) -Dtmp.dir="$(pwd)/tmp" || echo "failed $target"
;;
*)
echo "unregconised \"$target\""
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org