Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test Every Executable #20

Open
7 of 11 tasks
grencez opened this issue Jul 26, 2021 · 2 comments
Open
7 of 11 tasks

Test Every Executable #20

grencez opened this issue Jul 26, 2021 · 2 comments
Assignees
Labels

Comments

@grencez
Copy link
Collaborator

grencez commented Jul 26, 2021

Some smaller experimental utilities are built alongside Protocon. If they're going to stick around, then each one should have at least one test so they don't break during refractors.

  • uni/aperiodic: Outputs a known aperiodic unidirectional ring protocol.
  • uni/generate: Generates a bunch of unidirectional ring protocols. I was trying to find a smaller aperiodic one.
  • uni/classify: Classify unidirectional ring protocols as deadlock or livelock or unknown (possibly aperiodic).
  • uni/xlate: Translate between different unidirectional ring protocol formats.
  • uni/synthesize: Add stabilization for a uniform unidirectional ring.
  • biring: A tool to enumerate bidirectional ring invariants that are non-isomorphic?
  • deadfree: Verifies deadlock freedom for uniform rings of arbitrary size.
  • msat: Lets MiniSat guide the search.
    • I don't remember if this had any redeeming qualities.
    • Not built by default.
  • satsyn: Reduces the problem of adding stabilization to SAT. Runs a solver and interprets the result.
    • Test expected output instead of running SAT solver.
  • udp-impl: Execute a shared memory self-stabilizing protocol using processes that communicate with UDP packets.
    • Test by checking final state? Can we mock out the network & timing code to get a deterministic test?
  • protocon-gui (gui/main.cc): Qt5 GUI.
    • All real functionality is offloaded to a child protocon process running in -interactive mode.

The s/ directory has hints about how these were used in the past.

@grencez grencez self-assigned this Jul 26, 2021
@grencez
Copy link
Collaborator Author

grencez commented Nov 18, 2023

Tests foruni/xlate, uni/aperiodic, and biring being added in Issue #17.

@grencez
Copy link
Collaborator Author

grencez commented Nov 23, 2023

Test for uni/synthesize added in 8f218d4.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant