This repository was archived by the owner on Mar 31, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Test Results for pstore Unit and System Tests
Russell Gallop edited this page Feb 19, 2019
·
2 revisions
Test the llvm-prepo toolchain using the pstore unit and system tests. The work invokes:
- Build llvm-repo/clang-repo toolchain with Debug configuration.
-
llvm-prepo(commit:
547050a5f2a54469de5bbddcc8215001c17d0ca0) -
pstore (commit:
606058c761646b8c38388a8fa6bb7503198300e7)
-
llvm-prepo(commit:
- For each pstore unit test target except pstore-broker-unit-tests:
- Compile the pstore unit tests targeting the program repository using the above compiler.
- Convert the Repo ticket files to ELF object files using repo2obj.
- Link the ELF object files to generate an executable ELF file.
- Run the executable file and check the unit tests pass.
- Repeat for the remaining unit test targets.
- clean the build by deleting all ticket files (retain the clang.db database).
- Repeat step 2 to produce the result for the second time build (note: all fragments are in the database.)
The pstore unit tests have been built and run twice with debug and release configuration.
Compiler switches: -O0 -fno-exceptions -fno-rtti.
| Unit Tests | prepo 1st build | prepo 1st run | prepo 2nd build | prepo 2nd run |
|---|---|---|---|---|
| pstore-support-unit-tests | ✔ | ✔ | ✔ | ✔ |
| pstore-core-unit-tests | ✔ | ✔ | ✔ | ✔ |
| pstore-cmd-util-unit-tests | ✔ | ✔ | ✔ | ✔ |
| pstore-diff-unit-tests | ✔ | ✔ | ✔ | ✔ |
| pstore-dump-unit-tests | ✔ | ✔ | ✔ | ✔ |
| pstore-json-unit-tests | ✔ | ✔ | ✔ | ✔ |
| pstore-mcrepo-unit-tests | ✔ | ✔ | ✔ | ✔ |
| pstore-serialize-unit-tests | ✔ | ✔ | ✔ | ✔ |
Compiler switches: -O3 -fno-exceptions -fno-rtti.
| Unit Tests | prepo 1st build | prepo 1st run | prepo 2nd build | prepo 2nd run |
|---|---|---|---|---|
| pstore-support-unit-tests | ✔ | ✔ | ✔ | ✔ |
| pstore-core-unit-tests | ✔ | ✔ | ✔ | ✔ |
| pstore-cmd-util-unit-tests | ✔ | ✔ | ✔ | ✔ |
| pstore-diff-unit-tests | ✔ | ✔ | ✔ | ✔ |
| pstore-dump-unit-tests | ✔ | ✔ | ✔ | ✔ |
| pstore-json-unit-tests | ✔ | ✔ | ✔ | ✔ |
| pstore-mcrepo-unit-tests | ✔ | ✔ | ✔ | ✔ |
| pstore-serialize-unit-tests | ✔ | ✔ | ✔ | ✔ |
The pstore system tests have been built and run twice with debug and release configuration.
- Unsupported Tests:
broker/broker1.testandbroker/broker_kill.test. - Expected Failures:
bad/empty.test,index/dump_missing_file.testandindex/read_missing_file.test. - Other tests are expected to pass.
Compiler switches: -O0 -fno-exceptions -fno-rtti
| System Tests | prepo 1st build | prepo 1st run | prepo 2nd build | prepo 2nd run |
|---|---|---|---|---|
| bad/empty.test | ✔ | ✔ | ✔ | ✔ |
| fuzzing/dump_indices.test | ✔ | ✔ | ✔ | ✔ |
| fuzzing/dump_log.test | ✔ | ✔ | ✔ | ✔ |
| fuzzing/dump_header.test | ✔ | ✔ | ✔ | ✔ |
| fuzzing/dump_contents.test | ✔ | ✔ | ✔ | ✔ |
| fuzzing/dump_shared_memory.test | ✔ | ✔ | ✔ | ✔ |
| fuzzing/write.test | ✔ | ✔ | ✔ | ✔ |
| fuzzing/vacuumd.test | ✔ | ✔ | ✔ | ✔ |
| index/name.test | ✔ | ✔ | ✔ | ✔ |
| index/name_and_write.test | ✔ | ✔ | ✔ | ✔ |
| index/put1.test | ✔ | ✔ | ✔ | ✔ |
| index/put2.test | ✔ | ✔ | ✔ | ✔ |
| index/put3.test | ✔ | ✔ | ✔ | ✔ |
| index/write.test | ✔ | ✔ | ✔ | ✔ |
| serialize/ex1.t | ✔ | ✔ | ✔ | ✔ |
| serialize/ex2.t | ✔ | ✔ | ✔ | ✔ |
| serialize/istream_reader.t | ✔ | ✔ | ✔ | ✔ |
| serialize/nonpod1.t | ✔ | ✔ | ✔ | ✔ |
| serialize/nonpod2.t | ✔ | ✔ | ✔ | ✔ |
| serialize/ostream_writer.t | ✔ | ✔ | ✔ | ✔ |
| index/large1.test | ✔ | ✔ | ✔ | ✔ |
| index/large2.test | ✔ | ✔ | ✔ | ✔ |
| index/hamt_test.test | ✔ | ✔ | ✔ | ✔ |
| bad/empty.test | ✔ | ✔ | ✔ | ✔ |
| index/dump_missing_file.test | ✔ | ✔ | ✔ | ✔ |
| index/read_missing_file.test | ✔ | ✔ | ✔ | ✔ |
Compiler switches: -O3 -fno-exceptions -fno-rtti.
| Unit Tests | prepo 1st build | prepo 1st run | prepo 2nd build | prepo 2nd run |
|---|---|---|---|---|
| bad/empty.test | ✔ | ✔ | ✔ | ✔ |
| fuzzing/dump_indices.test | ✔ | ✔ | ✔ | ✔ |
| fuzzing/dump_log.test | ✔ | ✔ | ✔ | ✔ |
| fuzzing/dump_header.test | ✔ | ✔ | ✔ | ✔ |
| fuzzing/dump_contents.test | ✔ | ✔ | ✔ | ✔ |
| fuzzing/dump_shared_memory.test | ✔ | ✔ | ✔ | ✔ |
| fuzzing/write.test | ✔ | ✔ | ✔ | ✔ |
| fuzzing/vacuumd.test | ✔ | ✔ | ✔ | ✔ |
| index/name.test | ✔ | ✔ | ✔ | ✔ |
| index/name_and_write.test | ✔ | ✔ | ✔ | ✔ |
| index/put1.test | ✔ | ✔ | ✔ | ✔ |
| index/put2.test | ✔ | ✔ | ✔ | ✔ |
| index/put3.test | ✔ | ✔ | ✔ | ✔ |
| index/write.test | ✔ | ✔ | ✔ | ✔ |
| serialize/ex1.t | ✔ | ✔ | ✔ | ✔ |
| serialize/ex2.t | ✔ | ✔ | ✔ | ✔ |
| serialize/istream_reader.t | ✔ | ✔ | ✔ | ✔ |
| serialize/nonpod1.t | ✔ | ✔ | ✔ | ✔ |
| serialize/nonpod2.t | ✔ | ✔ | ✔ | ✔ |
| serialize/ostream_writer.t | ✔ | ✔ | ✔ | ✔ |
| index/large1.test | ✔ | ✔ | ✔ | ✔ |
| index/large2.test | ✔ | ✔ | ✔ | ✔ |
| index/hamt_test.test | ✔ | ✔ | ✔ | ✔ |
| bad/empty.test | ✔ | ✔ | ✔ | ✔ |
| index/dump_missing_file.test | ✔ | ✔ | ✔ | ✔ |
| index/read_missing_file.test | ✔ | ✔ | ✔ | ✔ |