aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTaras Madan <tarasmadan@google.com>2022-02-08 14:33:22 +0100
committerGitHub <noreply@github.com>2022-02-08 14:33:22 +0100
commit0b33604d8e2793b82ec89abecf82d92b82e3d410 (patch)
treedf47bfc588f8d0d4e7d2a18ca5b57d8b52e52376
parenta7dab6385c1d95547a88e22577fb56fbcd5c37eb (diff)
dashboard/app: explicitly notify users if no patches were applied for testing (#3004)
Closes #2668
-rw-r--r--dashboard/app/jobs_test.go1
-rw-r--r--dashboard/app/mail_test_result.txt3
2 files changed, 3 insertions, 1 deletions
diff --git a/dashboard/app/jobs_test.go b/dashboard/app/jobs_test.go
index bf03f0c5d..ebfa47fbe 100644
--- a/dashboard/app/jobs_test.go
+++ b/dashboard/app/jobs_test.go
@@ -327,6 +327,7 @@ kernel config: %[2]v
dashboard link: https://testapp.appspot.com/bug?extid=%[1]v
compiler: compiler2
+Note: no patches were applied.
Note: testing is done by a robot and is best-effort only.
`, extBugID, kernelConfigLink))
c.checkURLContents(kernelConfigLink, testBuild.KernelConfig)
diff --git a/dashboard/app/mail_test_result.txt b/dashboard/app/mail_test_result.txt
index b1bfdfd61..3475545de 100644
--- a/dashboard/app/mail_test_result.txt
+++ b/dashboard/app/mail_test_result.txt
@@ -27,5 +27,6 @@ git tree: {{.KernelRepoAlias}}
compiler: {{.CompilerID}}
{{if .UserSpaceArch}}userspace arch: {{.UserSpaceArch}}
{{end}}{{if .PatchLink}}patch: {{.PatchLink}}
-{{end}}{{if and (not .CrashTitle) (not .Error)}}
+{{else}}
+Note: no patches were applied.{{end}}{{if and (not .CrashTitle) (not .Error)}}
Note: testing is done by a robot and is best-effort only.{{end}}