Skip to content

[mbedcrypto] all.sh: make it possible to run a subset of the components #7

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 25 commits into from
Jan 14, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
8f07312
Move the code into functions. No behavior change.
gilles-peskine-arm Nov 27, 2018
9f8f92c
Remove duplicate component for RSA_NO_CRT
gilles-peskine-arm Nov 27, 2018
e48351a
Move cleanup into the common wrapper function
gilles-peskine-arm Nov 27, 2018
782f411
Move test-ref-configs into its own component
gilles-peskine-arm Nov 27, 2018
348fb9a
New option --list-components
gilles-peskine-arm Nov 27, 2018
9252511
all.sh: with non-option arguments, run only these components
gilles-peskine-arm Nov 27, 2018
81b96ed
Add --except mode: run all components except a list
gilles-peskine-arm Nov 27, 2018
ffcdeff
Add the current component name to msg output and the final report
gilles-peskine-arm Dec 4, 2018
8ae15dd
Back up and restore config.h systematically
gilles-peskine-arm Jan 2, 2019
5158538
Merge remote-tracking branch 'upstream-crypto/development' into all_s…
gilles-peskine-arm Jan 5, 2019
06b385f
Fix inconsistent indentation
gilles-peskine-arm Jan 9, 2019
1927565
Use CMAKE_BUILD_TYPE to do Asan builds
gilles-peskine-arm Jan 6, 2019
74851d8
Gdb script: improve portability of ASLR disabling disabling
gilles-peskine-arm Jan 6, 2019
bdf3f52
all.sh: don't insist on Linux; always run Valgrind
gilles-peskine-arm Jan 6, 2019
55ae162
all.sh: fix MAKEFLAGS setting
gilles-peskine-arm Jan 6, 2019
1072610
all.sh: list components automatically
gilles-peskine-arm Jan 6, 2019
1bcb1c8
all.sh: Always build the list of components to run
gilles-peskine-arm Jan 6, 2019
e26ab18
all.sh: only look for armcc if it is used
gilles-peskine-arm Jan 6, 2019
657f59a
all.sh: only check tools that are going to be used
gilles-peskine-arm Jan 6, 2019
2edf47c
Merge the code to call output_env.sh into pre_check_tools
gilles-peskine-arm Jan 6, 2019
92bff7f
all.sh: Update the maintainer documentation
gilles-peskine-arm Jan 9, 2019
add1d23
Fix sometimes-spurious warning about changed config.h
gilles-peskine-arm Jan 9, 2019
d692e11
Delete $OUT_OF_SOURCE_DIR under --force
gilles-peskine-arm Jan 9, 2019
a49b00f
Support wildcard patterns with a positive list of components to run
gilles-peskine-arm Jan 9, 2019
e878987
Rename test_memcheck to test_valgrind
gilles-peskine-arm Jan 9, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions library/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,12 @@ if(CMAKE_COMPILER_IS_CLANG)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wmissing-declarations -Wmissing-prototypes -Wdocumentation -Wno-documentation-deprecated-sync -Wunreachable-code")
endif(CMAKE_COMPILER_IS_CLANG)

if(UNSAFE_BUILD)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-error")
set(CMAKE_C_FLAGS_ASAN "${CMAKE_C_FLAGS_ASAN} -Wno-error")
set(CMAKE_C_FLAGS_ASANDBG "${CMAKE_C_FLAGS_ASANDBG} -Wno-error")
endif(UNSAFE_BUILD)

if(WIN32)
set(libs ${libs} ws2_32)
endif(WIN32)
Expand Down
Loading