From 691acfc28d732dfec8ae0ddf5d4af819a9214c58 Mon Sep 17 00:00:00 2001 From: Fabian Boehm Date: Thu, 25 Apr 2024 21:52:13 +0200 Subject: [PATCH] tests: Disable some slow tests under ASAN These take over two minutes under ASAN (like ~40 seconds without, so they aren't quick to begin with), and don't really give any additional insight. So we skip them to save time --- tests/checks/check-all-fish-files.fish | 2 ++ tests/checks/check-completions.fish | 2 ++ 2 files changed, 4 insertions(+) diff --git a/tests/checks/check-all-fish-files.fish b/tests/checks/check-all-fish-files.fish index 018c3d43c..b6531b06f 100644 --- a/tests/checks/check-all-fish-files.fish +++ b/tests/checks/check-all-fish-files.fish @@ -1,4 +1,6 @@ #RUN: %fish -C 'set -l fish %fish' %s +# disable on CI ASAN because it's suuuper slow +#REQUIRES: test -z "$FISH_CI_SAN" # Test ALL THE FISH FILES # in share/, that is - the tests are exempt because they contain syntax errors, on purpose diff --git a/tests/checks/check-completions.fish b/tests/checks/check-completions.fish index bffa5e344..27ce6fe6f 100644 --- a/tests/checks/check-completions.fish +++ b/tests/checks/check-completions.fish @@ -1,4 +1,6 @@ #RUN: %fish -C 'set -l fish %fish' %s +# disable on CI ASAN because it's suuuper slow +#REQUIRES: test -z "$FISH_CI_SAN" # Test all completions where the command exists # No output is good output