From: Hu Weiwen <sehuww@mail.scut.edu.cn>
To: linux-erofs@lists.ozlabs.org
Subject: [PATCH 2/7] erofs-utils: tests: fix on out-of-tree build
Date: Fri, 22 Jan 2021 00:37:10 +0800 [thread overview]
Message-ID: <20210121163715.10660-3-sehuww@mail.scut.edu.cn> (raw)
In-Reply-To: <20210121163715.10660-1-sehuww@mail.scut.edu.cn>
e.g.: mkdir debug && cd debug && ../configure && make check
Signed-off-by: Hu Weiwen <sehuww@mail.scut.edu.cn>
---
.gitignore | 1 +
tests/erofs/001 | 2 +-
tests/erofs/002 | 2 +-
tests/erofs/003 | 2 +-
tests/erofs/004 | 2 +-
tests/erofs/005 | 2 +-
tests/erofs/006 | 2 +-
tests/erofs/007 | 2 +-
tests/erofs/008 | 2 +-
tests/erofs/009 | 2 +-
tests/erofs/010 | 2 +-
tests/erofs/011 | 2 +-
tests/erofs/012 | 2 +-
tests/erofs/013 | 2 +-
tests/erofs/014 | 2 +-
15 files changed, 15 insertions(+), 14 deletions(-)
diff --git a/.gitignore b/.gitignore
index 8bdd505..e4349dd 100644
--- a/.gitignore
+++ b/.gitignore
@@ -28,3 +28,4 @@ libtool
stamp-h
stamp-h1
+*/tests/results/
diff --git a/tests/erofs/001 b/tests/erofs/001
index e4adfd4..2107e81 100755
--- a/tests/erofs/001
+++ b/tests/erofs/001
@@ -4,7 +4,7 @@ seq=`basename $0`
seqres=$RESULT_DIR/$seq
# get standard environment, filters and checks
-. common/rc
+. "${srcdir}/common/rc"
cleanup()
{
diff --git a/tests/erofs/002 b/tests/erofs/002
index 4f0d13a..88a5cbf 100755
--- a/tests/erofs/002
+++ b/tests/erofs/002
@@ -4,7 +4,7 @@ seq=`basename $0`
seqres=$RESULT_DIR/$seq
# get standard environment, filters and checks
-. common/rc
+. "${srcdir}/common/rc"
cleanup()
{
diff --git a/tests/erofs/003 b/tests/erofs/003
index b283801..43c1e07 100755
--- a/tests/erofs/003
+++ b/tests/erofs/003
@@ -4,7 +4,7 @@ seq=`basename $0`
seqres=$RESULT_DIR/$seq
# get standard environment, filters and checks
-. common/rc
+. "${srcdir}/common/rc"
cleanup()
{
diff --git a/tests/erofs/004 b/tests/erofs/004
index 6827f70..4a8284b 100755
--- a/tests/erofs/004
+++ b/tests/erofs/004
@@ -4,7 +4,7 @@ seq=`basename $0`
seqres=$RESULT_DIR/$seq
# get standard environment, filters and checks
-. common/rc
+. "${srcdir}/common/rc"
cleanup()
{
diff --git a/tests/erofs/005 b/tests/erofs/005
index 64c6d40..dd0487b 100755
--- a/tests/erofs/005
+++ b/tests/erofs/005
@@ -4,7 +4,7 @@ seq=`basename $0`
seqres=$RESULT_DIR/$seq
# get standard environment, filters and checks
-. common/rc
+. "${srcdir}/common/rc"
cleanup()
{
diff --git a/tests/erofs/006 b/tests/erofs/006
index 6a0222f..ebe1f8b 100755
--- a/tests/erofs/006
+++ b/tests/erofs/006
@@ -4,7 +4,7 @@ seq=`basename $0`
seqres=$RESULT_DIR/$seq
# get standard environment, filters and checks
-. common/rc
+. "${srcdir}/common/rc"
cleanup()
{
diff --git a/tests/erofs/007 b/tests/erofs/007
index 7f69617..80628cb 100755
--- a/tests/erofs/007
+++ b/tests/erofs/007
@@ -4,7 +4,7 @@ seq=`basename $0`
seqres=$RESULT_DIR/$seq
# get standard environment, filters and checks
-. common/rc
+. "${srcdir}/common/rc"
cleanup()
{
diff --git a/tests/erofs/008 b/tests/erofs/008
index 48b91b6..80a6d2e 100755
--- a/tests/erofs/008
+++ b/tests/erofs/008
@@ -4,7 +4,7 @@ seq=`basename $0`
seqres=$RESULT_DIR/$seq
# get standard environment, filters and checks
-. common/rc
+. "${srcdir}/common/rc"
cleanup()
{
diff --git a/tests/erofs/009 b/tests/erofs/009
index b95787e..14e6639 100755
--- a/tests/erofs/009
+++ b/tests/erofs/009
@@ -4,7 +4,7 @@ seq=`basename $0`
seqres=$RESULT_DIR/$seq
# get standard environment, filters and checks
-. common/rc
+. "${srcdir}/common/rc"
cleanup()
{
diff --git a/tests/erofs/010 b/tests/erofs/010
index 5b87e5b..c31e387 100755
--- a/tests/erofs/010
+++ b/tests/erofs/010
@@ -4,7 +4,7 @@ seq=`basename $0`
seqres=$RESULT_DIR/$seq
# get standard environment, filters and checks
-. common/rc
+. "${srcdir}/common/rc"
cleanup()
{
diff --git a/tests/erofs/011 b/tests/erofs/011
index 16d485c..3922ae6 100755
--- a/tests/erofs/011
+++ b/tests/erofs/011
@@ -4,7 +4,7 @@ seq=`basename $0`
seqres=$RESULT_DIR/$seq
# get standard environment, filters and checks
-. common/rc
+. "${srcdir}/common/rc"
cleanup()
{
diff --git a/tests/erofs/012 b/tests/erofs/012
index ab5d345..46dcc3a 100755
--- a/tests/erofs/012
+++ b/tests/erofs/012
@@ -4,7 +4,7 @@ seq=`basename $0`
seqres=$RESULT_DIR/$seq
# get standard environment, filters and checks
-. common/rc
+. "${srcdir}/common/rc"
cleanup()
{
diff --git a/tests/erofs/013 b/tests/erofs/013
index 1bc3448..0beac2e 100755
--- a/tests/erofs/013
+++ b/tests/erofs/013
@@ -4,7 +4,7 @@ seq=`basename $0`
seqres=$RESULT_DIR/$seq
# get standard environment, filters and checks
-. common/rc
+. "${srcdir}/common/rc"
cleanup()
{
diff --git a/tests/erofs/014 b/tests/erofs/014
index aa6b604..b94b48f 100755
--- a/tests/erofs/014
+++ b/tests/erofs/014
@@ -4,7 +4,7 @@ seq=`basename $0`
seqres=$RESULT_DIR/$seq
# get standard environment, filters and checks
-. common/rc
+. "${srcdir}/common/rc"
cleanup()
{
--
2.30.0
next prev parent reply other threads:[~2021-01-21 16:40 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-21 16:37 [PATCH 0/7] Setup tests Hu Weiwen
2021-01-21 16:37 ` [PATCH 1/7] erofs-utils: tests: fix when lz4 is not enabled Hu Weiwen
2021-01-22 0:21 ` Gao Xiang
2021-01-21 16:37 ` Hu Weiwen [this message]
2021-01-22 0:19 ` [PATCH 2/7] erofs-utils: tests: fix on out-of-tree build Gao Xiang
2021-01-21 16:37 ` [PATCH 3/7] erofs-utils: tests: fix memory leakage in fssum Hu Weiwen
2021-01-21 23:45 ` Gao Xiang
2021-01-21 16:37 ` [PATCH 4/7] erofs-utils: tests: fix distcheck Hu Weiwen
2021-01-22 0:16 ` Gao Xiang
2021-01-22 1:09 ` 胡玮文
2021-01-21 16:37 ` [PATCH 5/7] erofs-utils: tests: check battach on full buffer block Hu Weiwen
2021-01-21 16:41 ` [PATCH 6/7] erofs-utils: tests: fix fuse build order Hu Weiwen
2021-01-21 16:42 ` [PATCH 7/7] erofs-utils: tests: enable GitHub Actions Hu Weiwen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210121163715.10660-3-sehuww@mail.scut.edu.cn \
--to=sehuww@mail.scut.edu.cn \
--cc=linux-erofs@lists.ozlabs.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).