Skip to content

Commit 5e57238

Browse files
committed
Skipped some tests in AM workload riscv-vector-tests.
1 parent 3bc6e1e commit 5e57238

File tree

1 file changed

+25
-1
lines changed

1 file changed

+25
-1
lines changed

workloads/am/riscv-vector-tests/build.sh

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,35 @@ set -e
33

44
make -C "$SRC_DIR" RISCV_PREFIX="$CROSS_COMPILE" compile-stage1
55

6+
# Only these workloads are in the NEMU CI workloads on the self hosted runner.
7+
# Only include them to be consistant with the original CI flow.
8+
include_tests=(
9+
vfadd.vf-0.bin
10+
vfsgnj.vv-0.bin
11+
vfsub.vf-0.bin
12+
vle16.v-0.bin
13+
vle32.v-0.bin
14+
vlse32.v-0.bin
15+
vlseg4e32.v-0.bin
16+
vlsseg4e32.v-0.bin
17+
vluxei32.v-0.bin
18+
vor.vi-0.bin
19+
vse16.v-0.bin
20+
vsetivli-0.bin
21+
vsetvl-0.bin
22+
vsetvli-0.bin
23+
vslide1down.vx-0.bin
24+
vsse16.v-1.bin
25+
vsuxei32.v-0.bin
26+
)
27+
628
mkdir -p "$PKG_DIR"/{bin,elf}
729
for file in "$SRC_DIR"/out/v256x64machine/bin/stage1-xs/* ; do
830
case "$file" in
931
*.bin)
10-
cp "$file" "$PKG_DIR"/bin/
32+
if [[ " ${include_tests[@]} " =~ " $(basename $file) " ]]; then
33+
cp "$file" "$PKG_DIR"/bin/
34+
fi
1135
;;
1236
*.txt)
1337
;;

0 commit comments

Comments
 (0)