From: Patrick Wang <patrick.wang.shcn@gmail.com>
To: akpm@linux-foundation.org, shuah@kernel.org
Cc: linux-mm@kvack.org, linux-kselftest@vger.kernel.org,
linux-kernel@vger.kernel.org, patrick.wang.shcn@gmail.com
Subject: [PATCH 3/3] selftests: vm: add the "settings" file with timeout variable
Date: Sat, 21 May 2022 16:38:25 +0800 [thread overview]
Message-ID: <20220521083825.319654-4-patrick.wang.shcn@gmail.com> (raw)
In-Reply-To: <20220521083825.319654-1-patrick.wang.shcn@gmail.com>
The default "timeout" for one kselftest is 45 seconds, while some
cases in run_vmtests.sh require more time. This will cause testing
timeout like:
not ok 4 selftests: vm: run_vmtests.sh # TIMEOUT 45 seconds
Therefore, add the "settings" file with timeout variable so users can
set the "timeout" value.
Signed-off-by: Patrick Wang <patrick.wang.shcn@gmail.com>
---
tools/testing/selftests/vm/settings | 1 +
1 file changed, 1 insertion(+)
create mode 100644 tools/testing/selftests/vm/settings
diff --git a/tools/testing/selftests/vm/settings b/tools/testing/selftests/vm/settings
new file mode 100644
index 000000000000..9abfc60e9e6f
--- /dev/null
+++ b/tools/testing/selftests/vm/settings
@@ -0,0 +1 @@
+timeout=45
--
2.25.1
prev parent reply other threads:[~2022-05-21 8:39 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-21 8:38 [PATCH 0/3] selftests: vm: a few fixup patches Patrick Wang
2022-05-21 8:38 ` [PATCH 1/3] selftests: vm: check numa_available() before operating "merge_across_nodes" in ksm_tests Patrick Wang
2022-05-21 8:38 ` [PATCH 2/3] selftests: vm: add "test_hmm.sh" to TEST_FILES Patrick Wang
2022-05-21 8:38 ` Patrick Wang [this message]
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=20220521083825.319654-4-patrick.wang.shcn@gmail.com \
--to=patrick.wang.shcn@gmail.com \
--cc=akpm@linux-foundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-kselftest@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=shuah@kernel.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).