diff options
author | Son Ho | 2022-02-09 11:32:08 +0100 |
---|---|---|
committer | Son Ho | 2022-02-09 11:32:08 +0100 |
commit | d92f0cdf60f4ee99c5e1a0d74dded5be6bfb949a (patch) | |
tree | 18155b3551a0102cb1e2563abb4d85cbe4ab4c08 /Makefile | |
parent | 2291934834131e8a6c0c839afa83a2cfb00162d8 (diff) |
Fix the Makefile to make sure the translation options are correct
Diffstat (limited to '')
-rw-r--r-- | Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -7,7 +7,7 @@ DEST_DIR=tests/ # Default translation options: # - insert calls to the normalizer in the translated code to test the # generated unit functions -TRANS_OPTIONS=-test-trans-units +TRANS_OPTIONS:=-test-trans-units # Build the project and test it .PHONY: build-test @@ -23,7 +23,8 @@ build: test: build translate-no_nested_borrows translate-hashmap # Add specific options to some tests -translate-no_nested_borrows: OPTIONS := $(OPTIONS) -test-units +translate-no_nested_borrows: TRANS_OPTIONS:=$(TRANS_OPTIONS) -test-units +translate-hashmap: TRANS_OPTIONS:=$(TRANS_OPTIONS) # Generic rule to extract the CFIM from a rust file .PHONY: gen-cfim-% |