Lines Matching +full:- +full:f

2 # To compile on SunOS: add "-lsocket -lnsl" to LDFLAGS
4 CFLAGS ?= -O2
5 WARNING_CFLAGS ?= -Wall -Wextra -Wformat=2 -Wno-format-nonliteral
8 # Set this to -v to see the details of failing test cases
9 TEST_FLAGS ?= $(if $(filter-out 0 OFF Off off NO No no FALSE False false N n,$(CTEST_OUTPUT_ON_FAIL…
13 # Include public header files from ../include, test-specific header files
16 LOCAL_CFLAGS = $(WARNING_CFLAGS) -I./include -I../include -I../library -D_FILE_OFFSET_BITS=64
17 LOCAL_LDFLAGS = -L../library \
18 -lmbedtls$(SHARED_SUFFIX) \
19 -lmbedx509$(SHARED_SUFFIX) \
20 -lmbedcrypto$(SHARED_SUFFIX)
26 # (gethostname, strdup, fileno...) even when compiling with -std=c99. Harmless
27 # on non-POSIX platforms.
28 LOCAL_CFLAGS += -D_POSIX_C_SOURCE=200809L
37 LOCAL_CFLAGS += -g3
41 LOCAL_CFLAGS += -Werror -DRECORD_PSA_STATUS_COVERAGE_LOG
52 LOCAL_LDFLAGS += -lws2_32 -lbcrypt
78 $(PYTHON) scripts/generate_bignum_tests.py --list || \
82 $(error "$(PYTHON) scripts/generate_bignum_tests.py --list" failed)
85 $(PYTHON) scripts/generate_ecp_tests.py --list || \
89 $(error "$(PYTHON) scripts/generate_ecp_tests.py --list" failed)
92 $(PYTHON) scripts/generate_psa_tests.py --list || \
96 $(error "$(PYTHON) scripts/generate_psa_tests.py --list" failed)
158 DATA_FILES += $(filter-out $(DATA_FILES),$(GENERATED_FILES))
171 $(MAKE) -C ../library
188 $(CC) $(LOCAL_CFLAGS) $(CFLAGS) -o $@ -c $<
192 $(CC) $(LOCAL_CFLAGS) $(CFLAGS) -o $@ -c $<
196 $(CC) $(LOCAL_CFLAGS) $(CFLAGS) -o $@ -c $<
207 #-----------------------------------------------------------------------------
218 $(PYTHON) scripts/generate_test_code.py -f suites/$(firstword $(subst ., ,$*)).function \
219 -d suites/$*.data \
220 -t suites/main_test.function \
221 -p suites/host_test.function \
222 -s suites \
223 --helpers-file suites/helpers.function \
224 -o .
229 $(CC) $(LOCAL_CFLAGS) $(CFLAGS) $< $(MBEDTLS_TEST_OBJS) $(LOCAL_LDFLAGS) $(LDFLAGS) -o $@
233 rm -rf $(BINARIES) *.c *.datax
234 rm -f src/*.o src/drivers/*.o src/test_helpers/*.o src/libmbed*
235 rm -f include/test/instrument_record_status.h
236 rm -f include/alt-extra/*/*_alt.h
237 rm -rf libtestdriver1
238 rm -f ../library/libtestdriver1.a
240 if exist *.c del /Q /F *.c
241 if exist *.exe del /Q /F *.exe
242 if exist *.datax del /Q /F *.datax
243 if exist src/*.o del /Q /F src/*.o
244 if exist src/drivers/*.o del /Q /F src/drivers/*.o
245 if exist src/test_helpers/*.o del /Q /F src/test_helpers/*.o
246 if exist src/libmbed* del /Q /F src/libmed*
247 if exist include/test/instrument_record_status.h del /Q /F include/test/instrument_record_status.h
252 rm -f $(GENERATED_FILES)
254 for %f in ($(subst /,\,$(GENERATED_FILES))) if exist %f del /Q /F %f
259 perl scripts/run-test-suites.pl $(TEST_FLAGS) --skip=$(SKIP_TEST_SUITES)
264 include/alt-extra/%_alt.h: ../include/%.h
265 perl -p -e 's/^(# *(define|ifndef) +\w+_)H\b/$${1}ALT_H/' $< >$@
282 rm -Rf ./libtestdriver1
284 cp -Rf ../library ./libtestdriver1
285 cp -Rf ../include ./libtestdriver1
286 cp -Rf ../scripts ./libtestdriver1
299 …head -n -1 ./libtestdriver1/include/psa/crypto_config.h.bak > ./libtestdriver1/include/psa/crypto_…
306 perl -pi -e '$(libtestdriver1_rewrite)' ./libtestdriver1/library/*.[ch]
307 perl -pi -e '$(libtestdriver1_rewrite)' ./libtestdriver1/include/*/*.h
309 …$(MAKE) -C ./libtestdriver1/library CFLAGS="-I../../ $(CFLAGS)" LDFLAGS="$(LDFLAGS)" libmbedcrypto…
315 …sed <../include/psa/crypto.h >$@ -n 's/^psa_status_t \([A-Za-z0-9_]*\)(.*/#define \1(...) RECORD_S…