Patch by Vasilis Kaoutsis (slightly edited):

* The POSIX test suite is copied to the image when the jam variable
  HAIKU_ADD_POSIX_TEST_SUITE_TO_IMAGE is defined (cf. UserBuildConfig.sample).
* Added difftime and fork tests to the test suite run script.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22907 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold
2007-11-12 00:08:06 +00:00
parent c50a1ab8a4
commit 2a6d40aea3
4 changed files with 197 additions and 138 deletions
+30
View File
@@ -415,6 +415,36 @@ AddDirectoryToHaikuImage home config settings printers "Save as PDF"
: home-config-settings-printers-save-as-pdf.rdef ;
#pragma mark - Tests
# PosixTestSuite
if $(HAIKU_ADD_POSIX_TEST_SUITE_TO_IMAGE) {
# add run script
AddFilesToHaikuImage home posixtestsuite : run_posix_tests ;
# add standard posix tests
AddFilesToHaikuImage home posixtestsuite conformance interfaces difftime
: difftime_1-1 ;
AddFilesToHaikuImage home posixtestsuite conformance interfaces fork
: fork_3-1 fork_4-1 fork_6-1 fork_8-1 fork_9-1 fork_12-1 ;
# add signal posix tests
AddFilesToHaikuImage home posixtestsuite conformance interfaces kill
: kill_2-1 ;
AddFilesToHaikuImage home posixtestsuite conformance interfaces sighold
: sighold_1-1 sighold_2-1 sighold_3-core-buildonly ;
AddFilesToHaikuImage home posixtestsuite conformance interfaces sigignore
: sigignore_1-1 sigignore_4-1 sigignore_5-core-buildonly
sigignore_6-1 sigignore_6-2 ;
AddFilesToHaikuImage home posixtestsuite conformance interfaces sigprocmask
: sigprocmask_8-1 sigprocmask_8-2 sigprocmask_8-3 sigprocmask_12-1 ;
AddFilesToHaikuImage home posixtestsuite conformance interfaces sigrelse
: sigrelse_1-1 sigrelse_2-1 sigrelse_3-core-buildonly ;
AddFilesToHaikuImage home posixtestsuite conformance interfaces signal
: signal_1-1 signal_2-1 signal_3-1 signal_5-1 signal_6-1 signal_7-1 ;
}
#pragma mark - Optional Packages