https://github.com/mupq/pqm4
Raw File
Tip revision: 2c48508775aec0b519f87053877529a574d7150b authored by Richard Petri on 27 March 2024, 14:10:26 UTC
Merge pull request #337 from mupq/moreci
Tip revision: 2c48508
tests.mk
# SPDX-License-Identifier: Apache-2.0 or CC0-1.0
ifeq ($(AIO),1)
elf/boardtest.elf: common/test.c $(LINKDEPS) $(CONFIG)
	$(compiletest)

elf/boardtest-fast.elf: common/testfast.c $(LINKDEPS) $(CONFIG)
	$(compiletest)

elf/boardtest-fast.elf: CPPFLAGS += -DCLOCK_TEST=CLOCK_FAST

elf/aestest.elf: common/aestest.c $(LINKDEPS) $(CONFIG)
	$(compiletest)

elf/keccaktest.elf: common/keccaktest.c $(LINKDEPS) $(CONFIG)
	$(compiletest)
else
elf/boardtest.elf: $(call objs,common/test.c) $(LINKDEPS) $(CONFIG)

elf/boardtest-fast.elf: $(call objs,common/testfast.c) $(LINKDEPS) $(CONFIG)

$(call objs,common/testfast.c): CPPFLAGS += -DCLOCK_TEST=CLOCK_FAST

elf/aestest.elf: $(call objs,common/aestest.c) $(LINKDEPS) $(CONFIG)

elf/keccaktest.elf: $(call objs,common/keccaktest.c) $(LINKDEPS) $(CONFIG)
endif

tests: elf/boardtest.elf elf/aestest.elf elf/keccaktest.elf
tests-bin: bin/boardtest.bin bin/aestest.bin bin/keccaktest.bin
back to top