Skip to content
This repository has been archived by the owner on Aug 22, 2024. It is now read-only.

Commit

Permalink
feat: create stable packages output
Browse files Browse the repository at this point in the history
  • Loading branch information
ASuciuX committed Nov 30, 2023
1 parent d42a286 commit 544531e
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 1 deletion.
4 changes: 4 additions & 0 deletions mutation-testing/scripts/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,7 @@ clarity/[^/]+/lib.rs.*(?:).*->
# all functions from all files of 'stacks-node' package (570 mutants)
stacks-node/[^/]+/.*(?:).*->
```

# Create Stable

Only run it once and the packages that should be updated from zero. Then it will be the reference point for the upcoming PRs that modify these functions
38 changes: 37 additions & 1 deletion mutation-testing/scripts/create-stable.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,39 @@
# for specific packages creates the outpu
# for specific packages creates the outpup

# removes everything except .txt files

#!/bin/bash

# Create mutants directory
mkdir -p mutants

### Run mutation testing on the packages uncommented

# Run mutation testing for stx-genesis package
cargo mutants --package stx-genesis --output mutants/stx-genesis

# Run mutation testing for pox-locking package
cargo mutants --package pox-locking --output mutants/pox-locking

# # Run mutation testing for libsigner package
# cargo mutants --package libsigner --output mutants/libsigner

# # Run mutation testing for libstackerdb package
# cargo mutants --package libstackerdb --output mutants/libstackerdb

# # Run mutation testing for stacks-common package
# cargo mutants --package stacks-common --output mutants/stacks-common


# # Run mutation testing for clarity package
# cargo mutants --package clarity --output mutants/clarity


# Run mutation testing for stacks-signer package - working, 10 min approx.
# cargo mutants --package stacks-signer --output mutants/stacks-signer

# Commented out mutation testing for stacks-node package due to test errors and long compile/testing time
# cargo mutants --package stacks-node --output mutants/stacks-node

# Commented out mutation testing for stackslib package due to long compile/testing time
# cargo mutants --package stackslib --output mutants/stackslib

0 comments on commit 544531e

Please sign in to comment.