]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
uc is a GNU Make Standard Library function, not builtin
authorNick Porter <nick@portercomputing.co.uk>
Mon, 30 Jan 2023 15:36:37 +0000 (15:36 +0000)
committerNick Porter <nick@portercomputing.co.uk>
Wed, 1 Feb 2023 18:33:48 +0000 (18:33 +0000)
src/tests/modules/all.mk

index e58f7481c06b9e6bac81d5f280cbdc2e60aade02..eb719bd96de3651230a01f7218ae57a1b14c6e0c 100644 (file)
@@ -46,9 +46,9 @@ else
   ifdef ${1}_require_test_server
     ifdef TEST_SERVER
       # define and export FOO_TEST_SERVER if it's not already defined
-      $(eval export $(call uc, ${1})_TEST_SERVER ?= $(TEST_SERVER))
+      $(eval export $(shell echo ${1} | tr a-z A-Z)_TEST_SERVER ?= $(TEST_SERVER))
     endif
-    ifeq "$($(call uc,${1})_TEST_SERVER)" ""
+    ifeq "$($(shell echo ${1} | tr a-z A-Z)_TEST_SERVER)" ""
       # the module requires a test server, but we don't have one.  Skip it.
       FILES_SKIP += ${2}
     endif