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. --- .../sources/embedding/build_check_pathnames.gpr | 29 ++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 testsuite/sources/embedding/build_check_pathnames.gpr (limited to 'testsuite/sources/embedding/build_check_pathnames.gpr') diff --git a/testsuite/sources/embedding/build_check_pathnames.gpr b/testsuite/sources/embedding/build_check_pathnames.gpr new file mode 100644 index 0000000..735e354 --- /dev/null +++ b/testsuite/sources/embedding/build_check_pathnames.gpr @@ -0,0 +1,29 @@ +-- 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. + + +with "comfignat.gpr"; + +standard project Build_Check_Pathnames is + for Main use ("check_pathnames"); + for Object_Dir use Comfignat.Objdir; + for Exec_Dir use Comfignat.Stage_Libexecdir; + + Relocatable := external("relocatable_package"); + + package Compiler is + for Default_Switches ("Ada") use + ("-Wall", "-Wextra", "-gnatwa", "-gnatVa", + "-gnateDRelocatable=" & Relocatable) & + Comfignat.All_Dir_Switches; + end Compiler; +end Build_Check_Pathnames; -- cgit v1.2.3