Skip to content

Commit 18cbb80

Browse files
committed
[herd,test] Include x66_64 catalogue tests in default testing
1 parent 9d2be71 commit 18cbb80

6 files changed

Lines changed: 98 additions & 0 deletions

File tree

Makefile

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -612,6 +612,18 @@ ifetch-test:
612612
$(REGRESSION_TEST_MODE)
613613
@ echo "herd7 catalogue aarch64-ifetch tests: OK"
614614

615+
cata-test:: x86_64-test
616+
x86_64-test:
617+
@ echo
618+
$(HERD_CATALOGUE_REGRESSION_TEST) \
619+
-herd-timeout $(TIMEOUT) \
620+
-j $(J) \
621+
-herd-path $(HERD) \
622+
-libdir-path ./herd/libdir \
623+
-kinds-path catalogue/x86_64/kinds.txt \
624+
-shelf-path catalogue/x86_64/shelf.py \
625+
$(REGRESSION_TEST_MODE)
626+
@ echo "herd7 catalogue x86_64 tests: OK"
615627

616628
# Not in cata-test, too-long
617629
test-all:: vmsa-test

catalogue/x86_64/cats/sc.cat

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../../herd/libdir/sc.cat
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../../herd/libdir/x86tso-mixed.cat

catalogue/x86_64/cfgs/new-web.cfg

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
graph columns
2+
squished true
3+
showevents memory
4+
showinitwrites false
5+
showlegend false
6+
fontsize 8
7+
scale 0.75
8+
xscale 1.0
9+
yscale 0.6667
10+
arrowsize 0.5
11+
showinitrf false
12+
showfinalrf false
13+
splines spline
14+
pad 0.1

catalogue/x86_64/kinds.txt

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
2+2W Forbid
2+
LB Forbid
3+
MP Forbid
4+
MP+po+po-rfi-po Forbid
5+
R Allow
6+
R+po+mfence Forbid
7+
R+po+po-rfi-po Allow
8+
R+po+rfi-po Allow
9+
RWC Allow
10+
RWC+po+mfence Forbid
11+
RWC+po+rfi-po Allow
12+
S Forbid
13+
SB Allow
14+
SB+mfence+po Allow
15+
SB+mfence+po-rfi-po Allow
16+
SB+mfence+rfi-po Allow
17+
SB+mfences Forbid
18+
SB+po+po-rfi-po Allow
19+
SB+po+rfi-po Allow
20+
SB+rfi-po+po-rfi-po Allow
21+
SB+rfi-pos Allow
22+
WRC Forbid
23+
WRR+2W Forbid
24+
WRW+2W Forbid
25+
WRW+WR Allow
26+
WRW+WR+po+mfence Forbid
27+
WRW+WR+po+rfi-po Allow
28+
WWC Forbid
29+

catalogue/x86_64/shelf.py

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
record = "X86-64"
2+
3+
cats = [
4+
"cats/x86tso-mixed.cat",
5+
"cats/sc.cat",
6+
]
7+
8+
cfgs = [
9+
"cfgs/new-web.cfg"
10+
]
11+
12+
illustrative_tests = [
13+
"tests/2+2W.litmus",
14+
"tests/LB.litmus",
15+
"tests/MP.litmus",
16+
"tests/MP+po+po-rfi-po.litmus",
17+
"tests/R.litmus",
18+
"tests/R+po+mfence.litmus",
19+
"tests/R+po+po-rfi-po.litmus",
20+
"tests/R+po+rfi-po.litmus",
21+
"tests/RWC.litmus",
22+
"tests/RWC+po+mfence.litmus",
23+
"tests/RWC+po+rfi-po.litmus",
24+
"tests/SB.litmus",
25+
"tests/SB+mfence+po.litmus",
26+
"tests/SB+mfence+po-rfi-po.litmus",
27+
"tests/SB+mfence+rfi-po.litmus",
28+
"tests/SB+mfences.litmus",
29+
"tests/SB+po+po-rfi-po.litmus",
30+
"tests/SB+po+rfi-po.litmus",
31+
"tests/SB+rfi-po+po-rfi-po.litmus",
32+
"tests/SB+rfi-pos.litmus",
33+
"tests/S.litmus",
34+
"tests/WRC.litmus",
35+
"tests/WRR+2W.litmus",
36+
"tests/WRW+2W.litmus",
37+
"tests/WRW+WR.litmus",
38+
"tests/WRW+WR+po+mfence.litmus",
39+
"tests/WRW+WR+po+rfi-po.litmus",
40+
"tests/WWC.litmus",
41+
]

0 commit comments

Comments
 (0)