From f1fb141ebf0bb08b37eb38fc1e3bc72e878e7301 Mon Sep 17 00:00:00 2001 From: Milos Prchlik Date: Wed, 1 Dec 2021 16:35:03 +0100 Subject: [PATCH] tests: rename fmf files to match the llvm naming scheme for plans --- tests/{tests-libomp.fmf => build-gating-libomp.fmf} | 9 ++++++++- tests/{tests-pocl.fmf => build-gating-pocl.fmf} | 9 ++++++++- tests/{default.fmf => build-gating.fmf} | 9 ++++++++- 3 files changed, 24 insertions(+), 3 deletions(-) rename tests/{tests-libomp.fmf => build-gating-libomp.fmf} (58%) rename tests/{tests-pocl.fmf => build-gating-pocl.fmf} (60%) rename tests/{default.fmf => build-gating.fmf} (59%) diff --git a/tests/tests-libomp.fmf b/tests/build-gating-libomp.fmf similarity index 58% rename from tests/tests-libomp.fmf rename to tests/build-gating-libomp.fmf index c80eb11..be680bc 100644 --- a/tests/tests-libomp.fmf +++ b/tests/build-gating-libomp.fmf @@ -1,4 +1,11 @@ -summary: libomp tests +summary: libomp clang tests for build/PR gating +adjust: + - because: "Plan to be ran when either executed locally, or executed by CI system to gate a build or PR." + when: >- + trigger is defined + and trigger != commit + and trigger != build + enabled: false discover: how: fmf test: libomp diff --git a/tests/tests-pocl.fmf b/tests/build-gating-pocl.fmf similarity index 60% rename from tests/tests-pocl.fmf rename to tests/build-gating-pocl.fmf index 86c91a9..82f93b3 100644 --- a/tests/tests-pocl.fmf +++ b/tests/build-gating-pocl.fmf @@ -1,4 +1,11 @@ -summary: pocl tests +summary: PoCL clang tests for build/PR gating +adjust: + - because: "Plan to be ran when either executed locally, or executed by CI system to gate a build or PR." + when: >- + trigger is defined + and trigger != commit + and trigger != build + enabled: false discover: how: fmf test: pocl diff --git a/tests/default.fmf b/tests/build-gating.fmf similarity index 59% rename from tests/default.fmf rename to tests/build-gating.fmf index 21e0504..4ae3f50 100644 --- a/tests/default.fmf +++ b/tests/build-gating.fmf @@ -1,4 +1,11 @@ -summary: Clang tests +summary: Clang tests for build/PR gating +adjust: + - because: "Plan to be ran when either executed locally, or executed by CI system to gate a build or PR." + when: >- + trigger is defined + and trigger != commit + and trigger != build + enabled: false discover: - name: Local tests how: fmf