{"id":18886391,"url":"https://github.com/pmem/pmdk-tests","last_synced_at":"2025-07-24T21:33:43.686Z","repository":{"id":27451964,"uuid":"113978416","full_name":"pmem/pmdk-tests","owner":"pmem","description":"Extended tests for PMDK libraries and utilities","archived":false,"fork":false,"pushed_at":"2024-09-04T11:43:12.000Z","size":432,"stargazers_count":11,"open_issues_count":2,"forks_count":29,"subscribers_count":12,"default_branch":"master","last_synced_at":"2025-04-14T22:17:17.132Z","etag":null,"topics":["pmdk","pmem"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pmem.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2017-12-12T10:47:45.000Z","updated_at":"2025-01-06T02:09:58.000Z","dependencies_parsed_at":"2024-07-22T08:05:46.192Z","dependency_job_id":"735a0230-7c30-4246-be73-6b38193651a8","html_url":"https://github.com/pmem/pmdk-tests","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/pmem/pmdk-tests","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pmem%2Fpmdk-tests","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pmem%2Fpmdk-tests/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pmem%2Fpmdk-tests/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pmem%2Fpmdk-tests/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pmem","download_url":"https://codeload.github.com/pmem/pmdk-tests/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pmem%2Fpmdk-tests/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266905436,"owners_count":24004144,"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","status":"online","status_checked_at":"2025-07-24T02:00:09.469Z","response_time":99,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["pmdk","pmem"],"created_at":"2024-11-08T07:27:10.753Z","updated_at":"2025-07-24T21:33:43.664Z","avatar_url":"https://github.com/pmem.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"pmdk-tests: Tests for [Persistent Memory Development Kit](https://github.com/pmem/pmdk)\n=================================\n\n\u003e NOTICE:\nThis repository is not actively developed. At this moment only the RAS tests are supported. If you are looking for tests\nfor the PMDK repository, go to [this page](https://github.com/pmem/pmdk).\n\nThis repository utilizes [Google Test](https://github.com/google/googletest) C++ test framework and [pugiXML](https://github.com/zeux/pugixml).\n\n### Building The Source ###\nTo build pmdk-tests, the following packages are required:\n* **[PMDK](https://github.com/pmem/pmdk)**\n* **CMake - version 2.8.12 or greater**\n\n#### Building pmdk-tests ####\nIn the pmdk-tests root directory:\n```\n\t$ mkdir build\n\t$ cd build\n\t$ cmake .. \u003cargs\u003e\n\t$ make\n```\n`\u003cargs\u003e` - for building debug version use `-DCMAKE_BUILD_TYPE=DEBUG`. No `-DCMAKE_BUILD_TYPE` argument provided is equivalent to `-DCMAKE_BUILD_TYPE=RELEASE`.\n\n##### PMDK Custom path\nIf PMDK is installed in custom path, then additional arguments need to be specified.\nIf pkg-config is available, then PKG_CONFIG_PATH environmental variable needs to be set to \u003cPMDK_INSTALL_PATH\u003e/lib/pkgconfig.\n```\n\t$ PKG_CONFIG_PATH=\u003cPMDK_INSTALL_PATH\u003e/lib/pkgconfig cmake ..\n```\nIf it's not available, then PMDK_INSTALL_PATH needs to be specified.\nPMDK_INSTALL_PATH must be an absolute path.\n```\n\t$ cmake .. -DPMDK_INSTALL_PATH=\u003cPMDK_INSTALL_PATH\u003e\n```\n\n### Running Tests ###\n\u003e NOTICE:\nCurrently only RAS tests are supported. Please check this [README](src/tests/ras/README.md) file for more information about RAS.\n\nBefore executing tests, valid configuration `config.xml` file needs to be placed in the same directory as the test binary. Template `config.xml.example` is located in `etc/config` directory. For more information see dedicated [README](etc/config/README.md) file.\nAfter this setup, tests can be run simply by executing the binary:\n\n```\n\t$ cd build\n\t$ cp ../etc/config/config.xml.example config.xml\n\t# Set own values in config.xml fields\n\t$ ./UNSAFE_SHUTDOWN_LOCAL\n```\npmdk-tests are implemented using Google Test framework, and thus resulting binaries share its behavior and command line interface.\nTo list all tests to be run from specific binary:\n```\n\t$ ./UNSAFE_SHUTDOWN_LOCAL --gtest_list_tests\n```\nTo run a subset of tests:\n```\n\t# Runs only tests with 'VERBOSE' in title.\n\t$ ./UNSAFE_SHUTDOWN_LOCAL --gtest_filter=\"*VERBOSE*\"\n```\n`--gtest_filter` argument can also be used to exclude tests from execution (mind the `-` before filtered out phrase):\n```\n\t# Exclude tests with 'VERBOSE' in title from execution.\n\t$ ./UNSAFE_SHUTDOWN_LOCAL --gtest_filter=-\"*VERBOSE*\"\n```\nTo see usage:\n```\n\t$ ./UNSAFE_SHUTDOWN_LOCAL --help\n```\nFor more information about running tests see [Google Test documentation](https://github.com/google/googletest/blob/master/googletest/docs/AdvancedGuide.md#running-test-programs-advanced-options).\n\n### Other Requirements ###\nPython scripts in pmdk-tests are compatible with Python 3.4.\n\n### See also ###\nDetailed documentation for specific test groups:\n* [Reliability, Availability and Serviceability\n(RAS)](src/tests/ras/README.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpmem%2Fpmdk-tests","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpmem%2Fpmdk-tests","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpmem%2Fpmdk-tests/lists"}