This repository has been archived by the owner on Nov 15, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make zombienet tests native friendly (#6588)
* Make zombienet tests native friendly * Update zombienet_tests/README.md Co-authored-by: Bastian Köcher <[email protected]> * Get rid of `{{ZOMBIENET_NATIVE_BINARY_PREFIX}}` * Remove pointless changes * add set_env helper and doc in readme * changes from feedback --------- Co-authored-by: Bastian Köcher <[email protected]> Co-authored-by: Javier Viola <[email protected]>
- Loading branch information
1 parent
7f79ddc
commit 2203837
Showing
7 changed files
with
69 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
pathprepend() { | ||
for ((i=$#; i>0; i--)); | ||
do | ||
ARG="$@[$i]" | ||
if [ -d "$ARG" ] && [[ ":$PATH:" != *":$ARG:"* ]]; then | ||
PATH="$ARG${PATH:+":$PATH"}" | ||
fi | ||
done | ||
} | ||
|
||
# paths are prepend in order, so you can manage with version will run | ||
# by the order of this array | ||
CUSTOM_PATHS=( | ||
"~/polkadot/target/release" | ||
"~/polkadot/target/testnet" | ||
"~/cumulus/target/release" | ||
) | ||
|
||
pathprepend $CUSTOM_PATHS | ||
export PATH=$PATH |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,4 +21,3 @@ command = "polkadot" | |
[[relaychain.nodes]] | ||
name = "dave" | ||
args = [ "-lruntime=debug,parachain=trace" ] | ||
|