1
0
Fork
You've already forked EngineTests
0
Quickly run the p≡p engine tests on macOS
  • Zig 86.7%
  • Makefile 12.1%
  • Shell 1.2%
Find a file
Dirk Zimmermann 124735e856 Newline
2026年05月13日 10:45:28 +02:00
.vscode Better working directory for debug 2026年03月02日 18:30:15 +01:00
botan @e27d332089 Add botan 3.10.0 as submodule 2025年12月29日 11:07:38 +01:00
gtest-parallel @cd488bdedc Add gtest-parallel as submodule 2026年01月04日 17:06:03 +01:00
libetpan @960de72c05 Use libetpan rebuild (ignores more dirty files) 2025年12月29日 11:20:04 +01:00
libpEpTransport @0cfcb60d62 Update 2026年03月01日 11:06:34 +01:00
pEpEngine @abccdcf49d Update pEpEngine 2026年03月12日 13:17:00 +01:00
pEpEngineSequoiaBackend @9a2a83f233 Go back to unpatched pEpEngineSequoiaBackend 2026年03月12日 13:11:46 +01:00
src Have to dup identities for an identity list 2026年03月02日 18:36:17 +01:00
.gitignore Ignore more mail files 2026年03月02日 14:51:11 +01:00
.gitmodules Update 2026年03月01日 11:06:34 +01:00
build.zig Call into commands, have library/include paths fixed 2026年03月01日 11:59:14 +01:00
build.zig.zon New zig project 2026年03月01日 11:29:01 +01:00
LICENSE Initial commit 2025年12月29日 10:18:37 +01:00
Makefile Newline 2026年05月13日 10:45:28 +02:00
README.md Update issue script and README 2026年03月03日 11:43:19 +01:00
run_test_issue_236.sh Update issue script and README 2026年03月03日 11:43:19 +01:00

Running the p≡p engine tests

Update all submodules to be in sync with this repo:

git submodule update --init

Don't forget to make clean after updates, or remove components manually from the prefix directory.

MacPorts to install in addition to the ones needed for the dependencies for p≡p for iOS:

sudo port install gtest libfaketime

Build and run the tests:

make
make test

Run a single test:

GTEST_FILTER="--gtest_filter AsciiBinary998Test.check_engine_895" make test

Running zig tests

The zig commands below will use pEp_homes/<email> as the p≡p home, depending on the --myself <email>.

All p≡p files are in that directory.

# As above
make
# Reset all p≡p data, start from scratch
rm -fr pEp_homes
# Reproduce https://codeberg.org/pEp/pEpEngine/issues/236
./run_test_issue_236.sh