Skip to content

Commit

Permalink
remove all llvm-based code coverage from MG tests
Browse files Browse the repository at this point in the history
  • Loading branch information
plebhash committed Jul 16, 2024
1 parent 7ec0731 commit 3fb3fdd
Show file tree
Hide file tree
Showing 26 changed files with 33 additions and 343 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
"version": "2",
"doc": [
"What this test does:",
"1) launch SRI pool with llvm-cov (Fails with bad coinbase config)",
"2) launch SRI pool with llvm-cov and -h flag (Displays `help` options)",
"3) launch SRI pool with llvm-cov (Fails because of invalid config)",
"4) launch SRI pool with llvm-cov (Fails because of no config file at path)",
"5) launch SRI pool with llvm-cov (Successfully runs pool)"
"1) launch SRI pool (Fails with bad coinbase config)",
"2) launch SRI pool (Displays `help` options)",
"3) launch SRI pool (Fails because of invalid config)",
"4) launch SRI pool (Fails because of no config file at path)",
"5) launch SRI pool (Successfully runs pool)"
],
"common_messages": [
],
Expand Down Expand Up @@ -39,8 +39,7 @@
},
{
"command": "cargo",
"args": [ "llvm-cov",
"--no-report",
"args": [
"run",
"-p",
"pool_sv2",
Expand All @@ -65,8 +64,7 @@
},
{
"command": "cargo",
"args": [ "llvm-cov",
"--no-report",
"args": [
"run",
"-p",
"pool_sv2",
Expand All @@ -92,8 +90,7 @@
},
{
"command": "cargo",
"args": [ "llvm-cov",
"--no-report",
"args": [
"run",
"-p",
"pool_sv2",
Expand All @@ -118,8 +115,7 @@
},
{
"command": "cargo",
"args": [ "llvm-cov",
"--no-report",
"args": [
"run",
"-p",
"pool_sv2",
Expand All @@ -144,8 +140,7 @@
},
{
"command": "cargo",
"args": [ "llvm-cov",
"--no-report",
"args": [
"run",
"-p",
"pool_sv2",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
cd roles
cargo llvm-cov --no-report -p pool_sv2
cargo build -p pool_sv2

cd ../utils/message-generator/
cargo build
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@
{
"command": "cargo",
"args": [
"llvm-cov",
"--no-report",
"run",
"-p",
"pool_sv2",
Expand All @@ -44,8 +42,6 @@
{
"command": "cargo",
"args": [
"llvm-cov",
"--no-report",
"run",
"-p",
"jd_server",
Expand All @@ -71,8 +67,6 @@
{
"command": "cargo",
"args": [
"llvm-cov",
"--no-report",
"run",
"-p",
"jd_client",
Expand All @@ -98,8 +92,6 @@
{
"command": "cargo",
"args": [
"llvm-cov",
"--no-report",
"run",
"-p",
"translator_sv2",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
cd roles
cargo llvm-cov --no-report -p pool_sv2
cargo llvm-cov --no-report -p jd_server
cargo llvm-cov --no-report -p jd_client
cargo llvm-cov --no-report -p translator_sv2
cargo build -p pool_sv2
cargo build -p jd_server
cargo build -p jd_client
cargo build -p translator_sv2
cargo build -p sv1-mining-device

cd ../utils/message-generator/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,6 @@
{
"command": "cargo",
"args": [
"llvm-cov",
"--no-report",
"run",
"-p",
"jd_server",
Expand All @@ -100,8 +98,6 @@
{
"command": "cargo",
"args": [
"llvm-cov",
"--no-report",
"run",
"-p",
"jd_client",
Expand All @@ -127,8 +123,6 @@
{
"command": "cargo",
"args": [
"llvm-cov",
"--no-report",
"run",
"-p",
"mining_proxy_sv2",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
cd roles
cargo llvm-cov --no-report -p jd_server
cargo llvm-cov --no-report -p jd_client
cargo llvm-cov --no-report -p mining_proxy_sv2
cargo build -p --no-report mining-device
cargo build -p jd_server
cargo build -p jd_client
cargo build -p mining_proxy_sv2
cargo build -p mining-device

cd ../utils/message-generator/
cargo build
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@
{
"command": "cargo",
"args": [
"llvm-cov",
"--no-report",
"run",
"-p",
"pool_sv2",
Expand All @@ -47,8 +45,6 @@
{
"command": "cargo",
"args": [
"llvm-cov",
"--no-report",
"run",
"-p",
"pool_sv2",
Expand All @@ -74,8 +70,6 @@
{
"command": "cargo",
"args": [
"llvm-cov",
"--no-report",
"run",
"-p",
"mining_proxy_sv2",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
cd roles
cargo llvm-cov --no-report -p pool_sv2
cargo llvm-cov --no-report -p mining_proxy_sv2
cargo build --no-report -p mining-device
cargo build -p pool_sv2
cargo build -p mining_proxy_sv2
cargo build -p mining-device

cd ../utils/message-generator/
cargo build
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@
{
"command": "cargo",
"args": [
"llvm-cov",
"--no-report",
"run",
"-p",
"pool_sv2",
Expand All @@ -47,8 +45,6 @@
{
"command": "cargo",
"args": [
"llvm-cov",
"--no-report",
"run",
"-p",
"pool_sv2",
Expand All @@ -74,8 +70,6 @@
{
"command": "cargo",
"args": [
"llvm-cov",
"--no-report",
"run",
"-p",
"mining_proxy_sv2",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cd roles
cargo llvm-cov --no-report -p pool_sv2
cargo llvm-cov --no-report -p mining_proxy_sv2
cargo build -p pool_sv2
cargo build -p mining_proxy_sv2
cargo build -p mining-device

cd ../utils/message-generator/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@
{
"command": "cargo",
"args": [
"llvm-cov",
"--no-report",
"run",
"-p",
"jd_server",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
cd roles
cargo llvm-cov --no-report -p jd_server
cargo build -p jd_server

cd ../utils/message-generator/
cargo build
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@
{
"command": "cargo",
"args": [
"llvm-cov",
"--no-report",
"run",
"-p",
"jd_server",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
cd roles
cargo llvm-cov --no-report -p jd_server
cargo build -p jd_server

cd ../utils/message-generator/
cargo build
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,6 @@
{
"command": "cargo",
"args": [
"llvm-cov",
"--no-report",
"run",
"-p",
"pool_sv2",
Expand All @@ -66,8 +64,6 @@
{
"command": "cargo",
"args": [
"llvm-cov",
"--no-report",
"run",
"-p",
"jd_client",
Expand Down Expand Up @@ -99,8 +95,6 @@
{
"command": "cargo",
"args": [
"llvm-cov",
"--no-report",
"run",
"-p",
"mining_proxy_sv2",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
cd roles
cargo llvm-cov --no-report -p pool_sv2
cargo llvm-cov --no-report -p jd_client
cargo llvm-cov --no-report -p mining_proxy_sv2
cargo build -p pool_sv2
cargo build -p jd_client
cargo build -p mining_proxy_sv2

cd ../utils/message-generator/
cargo build
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -147,8 +147,6 @@
{
"command": "cargo",
"args": [
"llvm-cov",
"--no-report",
"run",
"-p",
"pool_sv2",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
cd roles
cargo llvm-cov --no-report -p pool_sv2
cargo build -p pool_sv2

cd ../utils/message-generator/
cargo build
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,6 @@
{
"command": "cargo",
"args": [
"llvm-cov",
"--no-report",
"run",
"-p",
"pool_sv2",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
cd roles
cargo llvm-cov --no-report -p pool_sv2
cargo build -p pool_sv2

cd ../utils/message-generator/
cargo build
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,6 @@
{
"command": "cargo",
"args": [
"llvm-cov",
"--no-report",
"run",
"-p",
"pool_sv2",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
cd roles
cargo llvm-cov --no-report -p pool_sv2
cargo build -p pool_sv2

cd ../utils/message-generator/
cargo build
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,6 @@
{
"command": "cargo",
"args": [
"llvm-cov",
"--no-report",
"run",
"-p",
"pool_sv2",
Expand Down Expand Up @@ -96,32 +94,6 @@
"command": "pkill",
"args": ["-f", "pool_sv2", "-SIGINT"],
"conditions": "None"
},
{
"command": "cargo",
"args": [
"llvm-cov",
"--ignore-filename-regex",
"utils/|experimental/|protocols/",
"--cobertura",
"--output-path",
"target/pool-sri-test-reject-auth.xml",
"report"
],
"conditions": {
"WithConditions": {
"conditions": [
{
"output_string": "Finished report saved to ",
"output_location": "StdErr",
"late_condition": false,
"condition": true
}
],
"timer_secs": 320,
"warn_no_panic": false
}
}
}
],
"role": "client",
Expand Down
Loading

0 comments on commit 3fb3fdd

Please sign in to comment.