Skip to content

Commit

Permalink
Merge pull request #489 from mtzguido/gitignore
Browse files Browse the repository at this point in the history
test: rename rust test executables and gitignore them
  • Loading branch information
msprotz authored Oct 11, 2024
2 parents 84f64da + b2e36aa commit 59a3a41
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions test/.gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.cache
.depend
.output
*.exe
2 changes: 1 addition & 1 deletion test/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ WasmTrap.wasm-test: NEGATIVE = true
echo 'fn main () { let r = main_ (); if r != 0 { println!("main_ returned: {}\\n", r); panic!() } }' >> $@

%.rust-test: $(OUTPUT_DIR)/%.rs
rustc $< && ./$*
rustc $< -o $*.exe && ./$*.exe

rust: $(RUST_FILES) $(patsubst Rust%.fst,rust%.rust-test,$(filter-out Rust1.fst Rust2.fst Rust3.fst,$(wildcard Rust*.fst)))

Expand Down

0 comments on commit 59a3a41

Please sign in to comment.