aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKito Cheng <kito.cheng@sifive.com>2020-06-17 00:40:52 -0700
committerKito Cheng <kito.cheng@sifive.com>2020-06-17 00:41:11 -0700
commitbc8b404bfb212486df005147f305e1ec9f4a9f23 (patch)
tree17d2ccbc7213bb84bae67b3ed600466fdf4963f3
parentf13b418e9a2e90308b3881adc13413c933d363ee (diff)
downloadriscv-gnu-toolchain-bc8b404bfb212486df005147f305e1ec9f4a9f23.zip
riscv-gnu-toolchain-bc8b404bfb212486df005147f305e1ec9f4a9f23.tar.gz
riscv-gnu-toolchain-bc8b404bfb212486df005147f305e1ec9f4a9f23.tar.bz2
Rename whitelist to allowlist
-rw-r--r--Makefile.in12
-rwxr-xr-xscripts/testsuite-filter2
-rw-r--r--test/allowlist/README.md (renamed from test/whitelist/README.md)8
-rw-r--r--test/allowlist/binutils/common.log (renamed from test/whitelist/binutils/common.log)0
-rw-r--r--test/allowlist/binutils/glibc.log (renamed from test/whitelist/binutils/glibc.log)0
-rw-r--r--test/allowlist/binutils/newlib.log (renamed from test/whitelist/binutils/newlib.log)0
-rw-r--r--test/allowlist/gcc/common.log (renamed from test/whitelist/gcc/common.log)0
-rw-r--r--test/allowlist/gcc/glibc.ilp32.log (renamed from test/whitelist/gcc/glibc.ilp32.log)0
-rw-r--r--test/allowlist/gcc/glibc.log (renamed from test/whitelist/gcc/glibc.log)0
-rw-r--r--test/allowlist/gcc/glibc.lp64.log (renamed from test/whitelist/gcc/glibc.lp64.log)0
-rw-r--r--test/allowlist/gcc/glibc.rv32.f.log (renamed from test/whitelist/gcc/glibc.rv32.f.log)0
-rw-r--r--test/allowlist/gcc/glibc.rv32.log (renamed from test/whitelist/gcc/glibc.rv32.log)0
-rw-r--r--test/allowlist/gcc/lp64.log (renamed from test/whitelist/gcc/lp64.log)0
-rw-r--r--test/allowlist/gcc/newlib-nano.f.log (renamed from test/whitelist/gcc/newlib-nano.f.log)0
-rw-r--r--test/allowlist/gcc/newlib-nano.log (renamed from test/whitelist/gcc/newlib-nano.log)0
-rw-r--r--test/allowlist/gcc/newlib.log (renamed from test/whitelist/gcc/newlib.log)0
-rw-r--r--test/allowlist/gcc/rv64.log (renamed from test/whitelist/gcc/rv64.log)0
17 files changed, 11 insertions, 11 deletions
diff --git a/Makefile.in b/Makefile.in
index ad0a2a7..d3c4e92 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -787,14 +787,14 @@ stamps/check-gdb-linux: stamps/build-gcc-linux-stage2 stamps/build-gdb-linux sta
.PHONY: report-gcc-newlib report-gcc-newlib-nano
report-gcc-newlib: stamps/check-gcc-newlib
- $(srcdir)/scripts/testsuite-filter gcc newlib $(srcdir)/test/whitelist `find build-gcc-newlib-stage2/gcc/testsuite/ -name *.sum |paste -sd "," -`
+ $(srcdir)/scripts/testsuite-filter gcc newlib $(srcdir)/test/allowlist `find build-gcc-newlib-stage2/gcc/testsuite/ -name *.sum |paste -sd "," -`
report-gcc-newlib-nano: stamps/check-gcc-newlib-nano
- $(srcdir)/scripts/testsuite-filter gcc newlib-nano $(srcdir)/test/whitelist `find build-gcc-newlib-stage2/gcc/testsuite/ -name *.sum |paste -sd "," -`
+ $(srcdir)/scripts/testsuite-filter gcc newlib-nano $(srcdir)/test/allowlist `find build-gcc-newlib-stage2/gcc/testsuite/ -name *.sum |paste -sd "," -`
.PHONY: report-gcc-linux
report-gcc-linux: stamps/check-gcc-linux
- $(srcdir)/scripts/testsuite-filter gcc glibc $(srcdir)/test/whitelist `find build-gcc-linux-stage2/gcc/testsuite/ -name *.sum |paste -sd "," -`
+ $(srcdir)/scripts/testsuite-filter gcc glibc $(srcdir)/test/allowlist `find build-gcc-linux-stage2/gcc/testsuite/ -name *.sum |paste -sd "," -`
.PHONY: report-dhrystone-newlib report-dhrystone-newlib-nano
report-dhrystone-newlib: $(patsubst %,stamps/check-dhrystone-newlib-%,$(NEWLIB_MULTILIB_NAMES))
@@ -809,18 +809,18 @@ report-dhrystone-linux: $(patsubst %,stamps/check-dhrystone-linux-%,$(GLIBC_MULT
.PHONY: report-binutils-newlib report-binutils-newlib-nano
report-binutils-newlib: stamps/check-binutils-newlib
$(srcdir)/scripts/testsuite-filter binutils newlib \
- $(srcdir)/test/whitelist \
+ $(srcdir)/test/allowlist \
`find build-binutils-newlib/ -name *.sum |paste -sd "," -`
report-binutils-newlib-nano: stamps/check-binutils-newlib-nano
$(srcdir)/scripts/testsuite-filter binutils newlib-nano \
- $(srcdir)/test/whitelist \
+ $(srcdir)/test/allowlist \
`find build-binutils-newlib/ -name *.sum |paste -sd "," -`
.PHONY: report-binutils-linux
report-binutils-linux: stamps/check-binutils-linux
$(srcdir)/scripts/testsuite-filter binutils glibc \
- $(srcdir)/test/whitelist \
+ $(srcdir)/test/allowlist \
`find build-binutils-linux/ -name *.sum |paste -sd "," -`
clean:
diff --git a/scripts/testsuite-filter b/scripts/testsuite-filter
index cf11644..4ae3efc 100755
--- a/scripts/testsuite-filter
+++ b/scripts/testsuite-filter
@@ -124,7 +124,7 @@ def read_white_lists(white_list_files, is_gcc):
try:
key = l.split(' ')[1]
except:
- print ("Corrupt whitelist file?")
+ print ("Corrupt allowlist file?")
print ("Each line must contail <STATUS>: .*")
print ("e.g. FAIL: g++.dg/pr83239.C")
print ("Or starts with # for comment")
diff --git a/test/whitelist/README.md b/test/allowlist/README.md
index 20f74b9..e42e4b1 100644
--- a/test/whitelist/README.md
+++ b/test/allowlist/README.md
@@ -1,6 +1,6 @@
-This folder contain all whitelist files for testsuite result,
+This folder contain all allowlist files for testsuite result,
it used for `riscv-gnu-toolchain/scripts/testsuite-filter`,
-naming rule of whitelist file as below:
+naming rule of allowlist file as below:
```
<toolname>/common.log
@@ -10,10 +10,10 @@ naming rule of whitelist file as below:
- `toolname` can be `gcc`, `binutils` or `gdb`.
- `<toolname>/common.log`: Every target/library combination for the `<toolname>`
- will use this whitelist file.
+ will use this allowlist file.
- `<toolname>/[<lib>.][rv(32|64|128).][<ext>.][<abi>.]log`: `testsuite-filter`
- will according the target/library combination to match corresponding whitelist
+ will according the target/library combination to match corresponding allowlist
files.
- For example, rv32im,ilp32/newlib will match following 24 files, and ignored if
diff --git a/test/whitelist/binutils/common.log b/test/allowlist/binutils/common.log
index c9cda0b..c9cda0b 100644
--- a/test/whitelist/binutils/common.log
+++ b/test/allowlist/binutils/common.log
diff --git a/test/whitelist/binutils/glibc.log b/test/allowlist/binutils/glibc.log
index f3245a3..f3245a3 100644
--- a/test/whitelist/binutils/glibc.log
+++ b/test/allowlist/binutils/glibc.log
diff --git a/test/whitelist/binutils/newlib.log b/test/allowlist/binutils/newlib.log
index 57ffc2d..57ffc2d 100644
--- a/test/whitelist/binutils/newlib.log
+++ b/test/allowlist/binutils/newlib.log
diff --git a/test/whitelist/gcc/common.log b/test/allowlist/gcc/common.log
index 44e1a6f..44e1a6f 100644
--- a/test/whitelist/gcc/common.log
+++ b/test/allowlist/gcc/common.log
diff --git a/test/whitelist/gcc/glibc.ilp32.log b/test/allowlist/gcc/glibc.ilp32.log
index dd034f9..dd034f9 100644
--- a/test/whitelist/gcc/glibc.ilp32.log
+++ b/test/allowlist/gcc/glibc.ilp32.log
diff --git a/test/whitelist/gcc/glibc.log b/test/allowlist/gcc/glibc.log
index de43242..de43242 100644
--- a/test/whitelist/gcc/glibc.log
+++ b/test/allowlist/gcc/glibc.log
diff --git a/test/whitelist/gcc/glibc.lp64.log b/test/allowlist/gcc/glibc.lp64.log
index dd034f9..dd034f9 100644
--- a/test/whitelist/gcc/glibc.lp64.log
+++ b/test/allowlist/gcc/glibc.lp64.log
diff --git a/test/whitelist/gcc/glibc.rv32.f.log b/test/allowlist/gcc/glibc.rv32.f.log
index 8a92e06..8a92e06 100644
--- a/test/whitelist/gcc/glibc.rv32.f.log
+++ b/test/allowlist/gcc/glibc.rv32.f.log
diff --git a/test/whitelist/gcc/glibc.rv32.log b/test/allowlist/gcc/glibc.rv32.log
index cc5e64a..cc5e64a 100644
--- a/test/whitelist/gcc/glibc.rv32.log
+++ b/test/allowlist/gcc/glibc.rv32.log
diff --git a/test/whitelist/gcc/lp64.log b/test/allowlist/gcc/lp64.log
index fd6581b..fd6581b 100644
--- a/test/whitelist/gcc/lp64.log
+++ b/test/allowlist/gcc/lp64.log
diff --git a/test/whitelist/gcc/newlib-nano.f.log b/test/allowlist/gcc/newlib-nano.f.log
index 37b510a..37b510a 100644
--- a/test/whitelist/gcc/newlib-nano.f.log
+++ b/test/allowlist/gcc/newlib-nano.f.log
diff --git a/test/whitelist/gcc/newlib-nano.log b/test/allowlist/gcc/newlib-nano.log
index 9eb3e9c..9eb3e9c 100644
--- a/test/whitelist/gcc/newlib-nano.log
+++ b/test/allowlist/gcc/newlib-nano.log
diff --git a/test/whitelist/gcc/newlib.log b/test/allowlist/gcc/newlib.log
index 300b10a..300b10a 100644
--- a/test/whitelist/gcc/newlib.log
+++ b/test/allowlist/gcc/newlib.log
diff --git a/test/whitelist/gcc/rv64.log b/test/allowlist/gcc/rv64.log
index f8358ef..f8358ef 100644
--- a/test/whitelist/gcc/rv64.log
+++ b/test/allowlist/gcc/rv64.log