This repository has been archived by the owner on Jun 25, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
run_all_tests.sh
executable file
·78 lines (70 loc) · 1.78 KB
/
run_all_tests.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
#!/bin/bash
set -e
cd contracts
echo "Light client tests start..."
cd light_client
./build.sh
./build_reset.sh
cargo test -- --nocapture
echo "Light client tests done."
echo "Prover tests start..."
echo "-Mock light client build started..."
cd ../mock_light_client
./build.sh
echo "-Mock light client build done."
cd ../prover
./build.sh
cargo test -- --nocapture
echo "Prover tests done."
echo "Types tests start..."
cd ../types
cargo test -- --nocapture
echo "Types tests done."
echo "Connector Permissions tests start..."
cd ../connector_permissions
./build.sh
cargo test -- --nocapture
echo "Connector Permissions tests done."
echo "FT Connector tests start..."
echo "-FT bridge token build and deploy started..."
cd ../ft_bridge_token
./build.sh
./deploy.sh
echo "-FT bridge token build and deploy done."
echo "-Bridge token deployer build started..."
cd ../bridge_token_deployer
./build_ft.sh
./test_ft.sh
echo "-Bridge token deployer build done."
echo "-Mock prover build started..."
cd ../mock_prover
./build.sh
echo "-Mock prover build done."
echo "-Connector permissions build started..."
cd ../connector_permissions
./build.sh
echo "-Connector permissions build done."
cd ../ft_connector
./build.sh
cargo test -- --nocapture
echo "FT Connector tests done."
echo "NFT Connector tests start..."
echo "-NFT bridge token build and deploy started..."
cd ../nft_bridge_token
./build.sh
./deploy.sh
echo "-NFT bridge token build and deploy done."
echo "-Bridge token deployer build started..."
cd ../bridge_token_deployer
./build_nft.sh
./test_nft.sh
echo "-Bridge token deployer build done."
cd ../nft_connector
./build.sh
cargo test -- --nocapture
echo "NFT Connector tests done."
echo "XSC Connector tests start..."
cd ../xsc_connector
./build.sh
cargo test -- --nocapture
echo "XSC Connector tests done."