Sfoglia il codice sorgente

Full suite of unit tests

Vecna 3 mesi fa
parent
commit
d1022cc341
1 ha cambiato i file con 28 aggiunte e 2 eliminazioni
  1. 28 2
      scripts/test.sh

+ 28 - 2
scripts/test.sh

@@ -8,14 +8,40 @@ docker stop tp-analysis-test
 
 docker run --name "lox-old-test" --rm -d -i lox-old:latest || exit 1
 docker exec lox-old-test cargo test --release --features fast test_open_invite || exit 1
+docker exec lox-old-test cargo test --release --features fast test_trust_promotion || exit 1
+docker exec lox-old-test cargo test --release --features fast test_level0_migration || exit 1
+docker exec lox-old-test cargo test --release --features fast test_level_up || exit 1
+docker exec lox-old-test cargo test --release --features fast test_issue_invite || exit 1
+docker exec lox-old-test cargo test --release --features fast test_redeem_invite || exit 1
+docker exec lox-old-test cargo test --release --features fast test_mark_unreachable || exit 1
+docker exec lox-old-test cargo test --release --features fast test_blockage_migration || exit 1
 docker stop lox-old-test
 
 docker run --name "lox-new-test" --rm -d -i lox-new:latest || exit 1
-docker exec lox-new-test cargo test --release --features bridgeauth,test,fast test_open_invite || exit 1
+docker exec lox-new-test cargo test --release --features bridgeauth,test,fast test_check_blockage || exit 1
+docker exec lox-new-test cargo test --release --features bridgeauth,test,fast test_issue_invite || exit 1
+docker exec lox-new-test cargo test --release --features bridgeauth,test,fast test_redeem_invite || exit 1
+docker exec lox-new-test cargo test --release --features bridgeauth,test,fast test_trust_migration || exit 1
+docker exec lox-new-test cargo test --release --features bridgeauth,test,fast test_update_cred || exit 1
+docker exec lox-new-test cargo test --release --features bridgeauth,test,fast test_level_up || exit 1
+docker exec lox-new-test cargo test --release --features bridgeauth,test,fast test_blockage_migration || exit 1
+docker exec lox-new-test cargo test --release --features bridgeauth,test,fast test_open_invitation || exit 1
+docker exec lox-new-test cargo test --release --features bridgeauth,test,fast test_update_invite || exit 1
+docker exec lox-new-test cargo test --release --features bridgeauth,test,fast test_trust_promotion || exit 1
 docker stop lox-new-test
 
 docker run --name "troll-patrol-test" --rm -d -i troll-patrol:latest || exit 1
-docker exec troll-patrol-test cargo test --release --features bridgeauth,test,fast test_open_invite || exit 1
+docker exec troll-patrol-test cargo test --release --features bridgeauth,test,fast test_check_blockage || exit 1
+docker exec troll-patrol-test cargo test --release --features bridgeauth,test,fast test_issue_invite || exit 1
+docker exec troll-patrol-test cargo test --release --features bridgeauth,test,fast test_redeem_invite || exit 1
+docker exec troll-patrol-test cargo test --release --features bridgeauth,test,fast test_trust_migration || exit 1
+docker exec troll-patrol-test cargo test --release --features bridgeauth,test,fast test_update_cred || exit 1
+docker exec troll-patrol-test cargo test --release --features bridgeauth,test,fast test_level_up || exit 1
+docker exec troll-patrol-test cargo test --release --features bridgeauth,test,fast test_blockage_migration || exit 1
+docker exec troll-patrol-test cargo test --release --features bridgeauth,test,fast test_open_invitation || exit 1
+docker exec troll-patrol-test cargo test --release --features bridgeauth,test,fast test_update_invite || exit 1
+docker exec troll-patrol-test cargo test --release --features bridgeauth,test,fast test_trust_promotion || exit 1
+docker exec troll-patrol-test cargo test --release --features bridgeauth,test,fast test_report_protocols || exit 1
 docker stop troll-patrol-test
 
 echo "Everything seems to be set up correctly!"