From 388f77043b40a193cd422b11e6fe035b40c2c8e9 Mon Sep 17 00:00:00 2001 From: "Alejandro R. Mosteo" Date: Thu, 15 Feb 2024 12:09:00 +0100 Subject: [PATCH] Fix test index to use deterministic external gnat version --- .../gn/gnat_external/gnat_external-external.toml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/testsuite/fixtures/build_hash_index/gn/gnat_external/gnat_external-external.toml b/testsuite/fixtures/build_hash_index/gn/gnat_external/gnat_external-external.toml index f1171a6ba..6a899f8d1 100644 --- a/testsuite/fixtures/build_hash_index/gn/gnat_external/gnat_external-external.toml +++ b/testsuite/fixtures/build_hash_index/gn/gnat_external/gnat_external-external.toml @@ -6,7 +6,6 @@ maintainers-logins = ["mosteo"] [[external]] kind = "version-output" -# We look for make instead that should be always installed. -version-command = ["make", "--version"] -version-regexp = ".*Make ([\\d\\.]+).*" +version-command = ["echo", "1.0"] +version-regexp = "([\\d\\.]+).*" provides = "gnat"