aboutsummaryrefslogtreecommitdiff
path: root/cmake/modules/PaludisAddTest.cmake
diff options
context:
space:
mode:
authorAvatar Marvin Schmidt <marv@exherbo.org> 2021-02-06 12:04:00 +0100
committerAvatar Marvin Schmidt <marv@exherbo.org> 2021-09-17 10:37:45 +0200
commit4a3c2b65d9162ba29d0300057d29c43896c6eec1 (patch)
treea1472c56f99d656a1450958d75115aa916dc1812 /cmake/modules/PaludisAddTest.cmake
parente152b9dd042aee09fceb9f6b13bbe4d3fc31f994 (diff)
downloadpaludis-4a3c2b65d9162ba29d0300057d29c43896c6eec1.tar.gz
paludis-4a3c2b65d9162ba29d0300057d29c43896c6eec1.tar.xz
tests: Disambiguate test names by adding python/ruby prefixes
Diffstat (limited to 'cmake/modules/PaludisAddTest.cmake')
-rw-r--r--cmake/modules/PaludisAddTest.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/cmake/modules/PaludisAddTest.cmake b/cmake/modules/PaludisAddTest.cmake
index 684da49c8..15463cd4a 100644
--- a/cmake/modules/PaludisAddTest.cmake
+++ b/cmake/modules/PaludisAddTest.cmake
@@ -46,8 +46,10 @@ function(paludis_add_test test_name)
set(pat_test_extension "")
if(PAT_PYTHON)
set(pat_test_extension ".py")
+ set(pat_display_name "python_${pat_display_name}")
elseif(PAT_RUBY)
set(pat_test_extension ".rb")
+ set(pat_display_name "ruby_${pat_display_name}")
endif()
if(PAT_BASH OR PAT_PYTHON OR PAT_RUBY)