From 140a63ae7af13b8db25237c387efabd8ba1e2325 Mon Sep 17 00:00:00 2001 From: Björn Persson Date: Fri, 5 Sep 2025 12:12:42 +0200 Subject: Added testing of the switch variables. --- testsuite/sources/embedding/Makefile | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 testsuite/sources/embedding/Makefile (limited to 'testsuite/sources/embedding/Makefile') diff --git a/testsuite/sources/embedding/Makefile b/testsuite/sources/embedding/Makefile new file mode 100644 index 0000000..696e5a8 --- /dev/null +++ b/testsuite/sources/embedding/Makefile @@ -0,0 +1,28 @@ +# part of Comfignat's testsuite +# Copyright 2025 B. Persson, Bjorn@Rombobeorn.se +# +# This material is provided as is, with absolutely no warranty expressed +# or implied. Any use is at your own risk. +# +# Permission is hereby granted to use or copy this testsuite +# for any purpose, provided the above notices are retained on all copies. +# Permission to modify the code and to distribute modified code is granted, +# provided the above notices are retained, and a notice that the code was +# modified is included with the above copyright notice. + + +# This test checks that the switch variables convey directory names correctly +# to a compiled program. + + +include comfignat.mk + +build_GPRs = build_check_pathnames.gpr + +# Convey relocatable_package so check_pathnames knows whether the pathnames +# shall be absolute or relative. +options = relocatable_package + +# After check_pathnames has been built, run it to check the values. +build: + "${stage_libexecdir}/check_pathnames" -- cgit v1.2.3