-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(nix): add octez distribution to nix shell and integration tests
- Loading branch information
Showing
5 changed files
with
193 additions
and
6 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 |
---|---|---|
@@ -1,6 +1,17 @@ | ||
use jstzd::main; | ||
use tokio::process::Command; | ||
|
||
#[tokio::test] | ||
async fn test_main() { | ||
main().await.unwrap(); | ||
} | ||
|
||
#[tokio::test] | ||
async fn test_octez_client() { | ||
let output = Command::new("octez-client") | ||
.arg("--version") | ||
.output() | ||
.await | ||
.unwrap(); | ||
println!("octez-client --version: {:?}", output); | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,23 @@ | ||
diff --git a/manifest/product_octez.ml b/manifest/product_octez.ml | ||
index f4336a077a..6ab49b65cf 100644 | ||
--- a/manifest/product_octez.ml | ||
+++ b/manifest/product_octez.ml | ||
@@ -522,7 +522,7 @@ let octez_rust_deps = | ||
[S "source_tree"; S "../riscv"]; | ||
[S "source_tree"; S "../kernel_sdk"]; | ||
]; | ||
- [S "action"; [S "no-infer"; [S "bash"; S "./build.sh"]]]; | ||
+ [S "action"; [S "no-infer"; [S "system"; S "bash ./build.sh"]]]; | ||
]; | ||
] | ||
|
||
diff --git a/src/rust_deps/dune b/src/rust_deps/dune | ||
index de48dbfde8..20934e2e21 100644 | ||
--- a/src/rust_deps/dune | ||
+++ b/src/rust_deps/dune | ||
@@ -22,4 +22,4 @@ | ||
(source_tree src) | ||
(source_tree ../riscv) | ||
(source_tree ../kernel_sdk)) | ||
- (action (no-infer (bash ./build.sh)))) | ||
+ (action (no-infer (system "bash ./build.sh")))) |