Skip to content

Commit 0b06ce9

Browse files
Fix the integration tests for the range check builtin (#691)
* Fix the integration tests for the builtins * Skip cairo1 tests
1 parent 77fceb0 commit 0b06ce9

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

Makefile

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -44,23 +44,23 @@ integration:
4444
if [ ! -d rust_vm_bin ]; then \
4545
mkdir -p rust_vm_bin; \
4646
fi; \
47-
if [ ! -d rust_vm_bin/scj/scj ]; then \
48-
mkdir -p rust_vm_bin/scj/scj; \
47+
if [ ! -d rust_vm_bin/ctj/ctj ]; then \
48+
mkdir -p rust_vm_bin/ctj/ctj; \
4949
fi; \
5050
if [ ! -d rust_vm_bin/starkware/starkware ]; then \
5151
mkdir -p rust_vm_bin/starkware/starkware; \
5252
fi; \
5353
if [ ! -d rust_vm_bin/lambdaclass/lambdaclass ]; then \
5454
mkdir -p rust_vm_bin/lambdaclass/lambdaclass; \
5555
fi; \
56-
if [ ! -f ./rust_vm_bin/scj/scj/sierra-compile-json ]; then \
57-
cd rust_vm_bin/scj/scj && \
58-
git clone --single-branch --branch feat/main-casm-json --depth=1 https://github.com/MaksymMalicki/cairo-fork.git && \
59-
cd cairo-fork/crates/bin && cargo build --release --bin sierra-compile-json && \
56+
if [ ! -f ./rust_vm_bin/ctj/ctj/cairo-to-json ]; then \
57+
cd rust_vm_bin/ctj/ctj && \
58+
git clone --single-branch --branch cairo-to-json --depth=1 https://github.com/MaksymMalicki/cairo-json.git && \
59+
cd cairo-json/crates/bin && cargo build --release --bin cairo-to-json && \
6060
cd ../../../ && \
61-
mv cairo-fork/target/release/sierra-compile-json . && \
62-
mv cairo-fork/corelib ../ && \
63-
rm -rf cairo-fork && \
61+
mv cairo-json/target/release/cairo-to-json . && \
62+
mv cairo-json/corelib ../ && \
63+
rm -rf cairo-json && \
6464
cd ../../../; \
6565
fi; \
6666
if [ ! -f ./rust_vm_bin/starkware/starkware/cairo-run ]; then \

integration_tests/cairo1_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ func compileCairoCode(path string) (string, error) {
233233
var cliCommand string
234234
var args []string
235235

236-
cliCommand = "../rust_vm_bin/scj/scj/sierra-compile-json"
236+
cliCommand = "../rust_vm_bin/ctj/ctj/cairo-to-json"
237237
args = []string{
238238
path,
239239
compiledOutput,

0 commit comments

Comments
 (0)