{"id":24792333,"url":"https://github.com/emscripten-core/posixtestsuite","last_synced_at":"2025-10-12T17:31:32.686Z","repository":{"id":27740359,"uuid":"31228131","full_name":"emscripten-core/posixtestsuite","owner":"emscripten-core","description":"Open POSIX Test Suite branched for Emscripten.","archived":false,"fork":false,"pushed_at":"2021-11-09T17:25:18.000Z","size":1976,"stargazers_count":61,"open_issues_count":5,"forks_count":16,"subscribers_count":9,"default_branch":"main","last_synced_at":"2025-01-28T21:40:03.624Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://posixtest.sourceforge.net/","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/emscripten-core.png","metadata":{"files":{"readme":"README","changelog":"ChangeLog","contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-02-23T20:31:02.000Z","updated_at":"2024-12-11T01:15:09.000Z","dependencies_parsed_at":"2022-09-10T09:40:42.747Z","dependency_job_id":null,"html_url":"https://github.com/emscripten-core/posixtestsuite","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emscripten-core%2Fposixtestsuite","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emscripten-core%2Fposixtestsuite/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emscripten-core%2Fposixtestsuite/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emscripten-core%2Fposixtestsuite/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/emscripten-core","download_url":"https://codeload.github.com/emscripten-core/posixtestsuite/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":236251591,"owners_count":19119121,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-01-29T20:32:17.347Z","updated_at":"2025-10-12T17:31:26.567Z","avatar_url":"https://github.com/emscripten-core.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"\nSECTIONS:\n1. Open POSIX* Test Suite Overview\n2. Design Goals\n3. Implementation\n4. Developer Docs \u0026 Resources\n5. How to Contribute\n6. Who are you?\n7. Disclaimer\n8. Running Emscripten pthreads tests\n\n\n\n1. Open POSIX* Test Suite Overview\n-----------------------------------\n\nThe POSIX Test Suite is an open source test suite with the goal of\nperforming conformance, functional, and stress testing of the IEEE\n1003.1-2001 System Interfaces specification in a manner that is\nagnostic to any given implementation.\n\nWhile active development and testing is currently happening on Linux,\nour choice of portable tools should make this test suite usable on any\nPOSIX operating system.\n\nAll code is distributed under the GNU General Public License v2.  A\ncopy of this license is contained in the COPYING file.\n\nThis document gives a brief overview of the test suite, including its\ndesign goals, implementation, and how to contribute.  Within these\nsections, we describe where to find more detailed information.\n\n2. Design Goals\n----------------\nThis project was created with the following design goals:\n- Enable assertion based traceability for conformance testing of POSIX\n  specifications.  We wanted to capture enough data to make deterministic\n  statements about our coverage of the POSIX specification.\n\n- Give the ability to send test case source to bug reports to appropriate \n  open source projects when our test cases revealed bugs in those projects.\n  (Meaning we wanted fairly simple, self-contained test cases which\n  illuminated a single failure.)\n\n- Make it easy for test cases to be contributed.\n\n3. Implementation\n------------------\n\nThis project will cover conformance, functional, stress, performance,\nand speculative testing.  Conformance, functional, and stress tests are\nthe only tests formally documented and enabled by our framework, with our \nfocus mainly on conformance; however, the other types of testing will be \nadded as the need arises.\n\nFor more information on these types of testing, under 'Documenation' see:\nHOWTO_ConformanceTest - info on creation and structure of conformance tests\nHOWTO_Functional-     - info on creation and structure of functional\n  StressTest            and stress tests\n\nFor additional information on how to build and run the tests in this\nsuite, see Documentation/HOWTO_RunTests.\n\n\n4. Developer Docs \u0026 Resources\n------------------------------\n\nThe following files give developers information on how to write test\ncases for the project (under Documentation):\nHOWTO_Assertions      - describes format of the assertions files used to\n                        map test case descriptions to test cases\nHOWTO_BoundaryTest    - information about testing boundary conditions\nHOWTO_CodingGuidelines- describes coding guidelines for this project\nHOWTO_Coverage        - describes format of COVERAGE.\u003carea\u003e files\nHOWTO_DefinitionsTest - ideas behind testing POSIX header files\nHOWTO_ResultCodes     - standardized return codes for tests\nHOWTO_Tagging         - describes how to tag files for inclusion in a release\n\nFor additional information on how to build and run the tests in this\nsuite, see HOWTO_RunTests.\n\n5. How to Contribute\n---------------------\n\n* Patches welcome!\n\n* When you create a new test, please fill out an assertion description\n  if none is available. Create a simple C [.c] or shell script [.sh]\n  snippet that exploits the assertion and returns 0 or !0\n  [passes/fails]. \n\n  Please name the file after the assertion it tests-dash-the number of\n  the test [up to you, we can do the naming for you also].\n\n  The code snippets need to be as simple as possible, for the sake of\n  all. Please start them with a commentary briefly describing how\n  you will test the assertion. The idea is that at the end, we can have\n  automatic tools extracting the data from the XML and source files to\n  generate reports.\n\n\n6. Who are you?\n---------------\n\nWe are the ones currently developing this:\n\njulie.n.fleischer REMOVE-THIS AT intel DOT com\nrusty.lynch REMOVE-THIS AT intel DOT com\ngeoffrey.r.gustafson REMOVE-THIS AT intel DOT com\ninaky.perez-gonzalez REMOVE-THIS AT intel DOT com\nrolla.n.selbak REMOVE-THIS AT intel DOT com\nmajid.awad REMOVE-THIS AT intel DOT com\nsalwan.searty REMOVE-THIS AT intel DOT com\nsunyi REMOVE-THIS AT users DOT sourceforge DOT net\n\nSome like to say 'Nih!' from time to time ...\n\n\n7. Disclaimer\n--------------\nThe Open POSIX Test Suite is not affiliated with the IEEE or The Open Group.\n\n* POSIX (R) is a registered trademark of the IEEE\n\n8. Running Emscripten pthreads tests\n------------------------------------\n\nThis github repository adds Emscripten testing harness for pthreads. To run the Emscripten pthreads tests, perform the following:\n\n1. Set the environment EMSCRIPTEN_BROWSER to point to the executable of the target browser to run the test suite in.\n2. Close all existing instanced of Firefox tabs and processes, because the test runner will forcibly terminate browser processes during the run.\n3. Navigate to /path/to/posixtestsuite/conformance/interfaces/ as the current directory.\n4. Run '/path/to/posixtestsuite/emcc/run_all_tests.py'. This will run all the tests found in the subdirectories of the current working directory.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femscripten-core%2Fposixtestsuite","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Femscripten-core%2Fposixtestsuite","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femscripten-core%2Fposixtestsuite/lists"}