mirror of
https://github.com/AdaCore/aws.git
synced 2026-02-12 12:29:46 -08:00
test.py and deep_res.adb both use the OS environment variable to determine how long path components should be, since 50 is too long for Windows hosts. However, in a Windows-hosted cross-Linux test, test.py will get one answer, and deep_res.adb another. Fix this by replacing the run-time check in deep_res.adb by a build-time config file selection. Let test_support.build() set the scenario variable to make gprbuild pick the correct file. Amend the test.py check for homogeneity. Change the discriminant, since "NT" is not set when targeting Linux. TN: eng/toolchain/aws#11