Skip to content

Commit 7575072

Browse files
[llvm-exegesis] Disable exhaustive tests on Windows
When looking at the slowest lit tests, I'm seeing these four tests take two to eight minutes. Test coverage on Linux should be sufficient for the functionality on top of it not really being useful on Windows at all. This was observed when hacking on the new premerge in a windows VM.
1 parent 1c5d971 commit 7575072

File tree

4 files changed

+20
-0
lines changed

4 files changed

+20
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# Only run this on Linux. Running on Windows can take an exorbinant amount of
2+
# time (upwards of ten minutes), and the only place where this functionality is
3+
# really useful is Linux.
4+
# REQUIRES: x86_64-linux
5+
16
# RUN: llvm-exegesis -mtriple=x86_64-unknown-unknown -mcpu=x86-64 -mode=inverse_throughput -opcode-index=-1 --max-configs-per-opcode=1048576 --benchmark-phase=prepare-snippet --benchmarks-file=-
27
# FIXME: it would be good to check how many snippets we end up producing,
38
# but the number is unstable, so for now just check that we do not crash.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# Only run this on Linux. Running on Windows can take an exorbinant amount of
2+
# time (upwards of ten minutes), and the only place where this functionality is
3+
# really useful is Linux.
4+
# REQUIRES: x86_64-linux
5+
16
# RUN: llvm-exegesis -mtriple=x86_64-unknown-unknown -mcpu=x86-64 -mode=inverse_throughput -opcode-index=-1 --max-configs-per-opcode=1 --benchmark-phase=prepare-snippet --benchmarks-file=-
27
# FIXME: it would be good to check how many snippets we end up producing,
38
# but the number is unstable, so for now just check that we do not crash.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# Only run this on Linux. Running on Windows can take an exorbinant amount of
2+
# time (upwards of ten minutes), and the only place where this functionality is
3+
# really useful is Linux.
4+
# REQUIRES: x86_64-linux
5+
16
# RUN: llvm-exegesis -mtriple=x86_64-unknown-unknown -mcpu=x86-64 -mode=uops -opcode-index=-1 --max-configs-per-opcode=1048576 --benchmark-phase=prepare-snippet --benchmarks-file=-
27
# FIXME: it would be good to check how many snippets we end up producing,
38
# but the number is unstable, so for now just check that we do not crash.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# Only run this on Linux. Running on Windows can take an exorbinant amount of
2+
# time (upwards of ten minutes), and the only place where this functionality is
3+
# really useful is Linux.
4+
# REQUIRES: x86_64-linux
5+
16
# RUN: llvm-exegesis -mtriple=x86_64-unknown-unknown -mcpu=x86-64 -mode=uops -opcode-index=-1 --max-configs-per-opcode=1 --benchmark-phase=prepare-snippet --benchmarks-file=-
27
# FIXME: it would be good to check how many snippets we end up producing,
38
# but the number is unstable, so for now just check that we do not crash.

0 commit comments

Comments
 (0)