I found a couple of tests that check gnatmake_version_at_least using
"if" where "require" would be a little cleaner. This patch converts
these.
load_lib "ada.exp"
require allow_ada_tests
+require {gnatmake_version_at_least 8}
-if { ![gnatmake_version_at_least 8] } {
- return -1
-}
standard_ada_testfile prot
if {[gdb_compile_ada "${srcfile}" "${binfile}" executable \
require allow_ada_tests
-if { ![gnatmake_version_at_least 8] } {
- return -1
-}
+require {gnatmake_version_at_least 8}
standard_ada_testfile pb30_012