[gjs] CI: Do correct diff processing for GNOME fork
- From: Philip Chimento <pchimento src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gjs] CI: Do correct diff processing for GNOME fork
- Date: Tue, 6 Mar 2018 13:55:20 +0000 (UTC)
commit 66741dc59e477485e7c09a62d063c827bcd3102c
Author: Philip Chimento <philip endlessm com>
Date: Tue Mar 6 21:52:41 2018 +0800
CI: Do correct diff processing for GNOME fork
Otherwise the paths in the master lint report don't match the branch's
lint report.
Unreviewed, pushing to fix build.
test/test-ci.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/test/test-ci.sh b/test/test-ci.sh
index b1a85b2..7c0ad9b 100755
--- a/test/test-ci.sh
+++ b/test/test-ci.sh
@@ -197,7 +197,7 @@ elif [[ $1 == "ESLINT" ]]; then
echo '-- Javascript linter report --'
eslint examples installed-tests modules --format unix 2>&1 | \
tee "$save_dir"/eslint/current-report.txt | \
- sed -E -e 's/:[0-9]+:[0-9]+:/:LINE:COL:/' -e 's/[0-9]+ problems//' -e 's/\/root\/tmp-upstream//' -e
's/\/builds\/claudioandre//' | \
+ sed -E -e 's/:[0-9]+:[0-9]+:/:LINE:COL:/' -e 's/[0-9]+ problems//' -e 's/\/root\/tmp-upstream//' -e
's/\/builds\/GNOME//' | \
tee /cwd/current-report.txt
echo
@@ -208,7 +208,7 @@ elif [[ $1 == "ESLINT" ]]; then
echo '-- Master Javascript linter report --'
eslint examples installed-tests modules --format unix 2>&1 | \
tee "$save_dir"/eslint/master-report.txt | \
- sed -E -e 's/:[0-9]+:[0-9]+:/:LINE:COL:/' -e 's/[0-9]+ problems//' -e 's/\/root\/tmp-upstream//' -e
's/\/builds\/claudioandre//' | \
+ sed -E -e 's/:[0-9]+:[0-9]+:/:LINE:COL:/' -e 's/[0-9]+ problems//' -e 's/\/root\/tmp-upstream//' -e
's/\/builds\/GNOME//' | \
tee /cwd/master-report.txt
echo
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]