Include 'common' in name of common test binaries

This commit is contained in:
Joost Rijneveld 2019-04-11 09:54:52 +02:00
parent 69b74706c1
commit a7c147f410
No known key found for this signature in database
GPG Key ID: A4FE39CF49CBC553
2 changed files with 2 additions and 2 deletions

View File

@ -38,7 +38,7 @@ testvectors: $(DEST_DIR)/testvectors_$(SCHEME)_$(IMPLEMENTATION)
.PHONY: printparams .PHONY: printparams
printparams: $(DEST_DIR)/printparams_$(SCHEME)_$(IMPLEMENTATION) printparams: $(DEST_DIR)/printparams_$(SCHEME)_$(IMPLEMENTATION)
$(DEST_DIR)/test_%: common/%.c $(COMMON_FILES) $(DEST_DIR)/test_common_%: common/%.c $(COMMON_FILES)
mkdir -p $(DEST_DIR) mkdir -p $(DEST_DIR)
$(CC) $(CFLAGS) $< $(COMMON_FILES) -o $@ $(CC) $(CFLAGS) $< $(COMMON_FILES) -o $@

View File

@ -16,7 +16,7 @@ def test_common():
def check_common(primitive): def check_common(primitive):
binname = os.path.join('..', 'bin', 'test_'+primitive) binname = os.path.join('..', 'bin', 'test_common_'+primitive)
helpers.make(binname) helpers.make(binname)
helpers.run_subprocess([binname]) helpers.run_subprocess([binname])