Add package tests (#13853)

This commit is contained in:
Ed Reel
2025-12-15 14:07:14 -06:00
committed by GitHub
parent 8bd112b869
commit ebedd7d7d1
5 changed files with 91 additions and 0 deletions

View File

@@ -64,6 +64,7 @@ class Command
# Run property and buildsystem tests on the package, and fail if they fail.
return false unless system "#{CREW_LIB_PATH}/tests/prop_test #{name}"
return false unless system "#{CREW_LIB_PATH}/tests/buildsystem_test #{name}"
return false if (ARGV[0] == 'check') && !system("#{CREW_LIB_PATH}/tests/package_test #{name}")
# If we're still here every test has passed, so return true.
return true