MattWindsor91 / phenolphthalein

Experimental concurrency test runner
MIT License
0 stars 0 forks source link

phenolphthalein

Phenolphthalein is an experimental concurrency test runner that:

While still quite new, inefficient, and rough against the edges, it has the following features:

Phenolphthalein is written in Rust (with some C interfacing code) and licenced under the MIT licence.

Why would I want to use this?

You probably don't yet - it's early beta-grade software. But the intention is that it'll be useful when you want something like Litmus, but:

How do I use this?

Using either the example test given in main.c or your own variant thereof, do something like:

$ clang -dynamiclib -std=c11 -pedantic -O3 -o test.dylib test.c
$ cargo run --release [OPTIONS] test.dylib

Options

phph accepts several arguments:

Test parameters

These can also be set globally using a TOML config file: pass --dump-config-path instead of a test file to see where phph is looking for one, and --dump-config to get the current config in the right format.

Output control

How can I help?

All contributions are welcome! Check the GitHub issues page for specific things that need work. General areas of development include:

Why is it called phenolphthalein?

Similar purpose to Litmus, but different execution. Also, the incredibly long and difficult to spell name is a conscious effort to suggest to the potential user that they should probably be using Litmus instead.