Ronald Cron
4eaf54e646
Move test_keys.h to include/test
...
Signed-off-by: Ronald Cron <ronald.cron@arm.com>
2024-12-10 16:32:07 +01:00
Manuel Pégourié-Gonnard
189bf03056
Merge pull request #9789 from eleuzi01/issue-74-backport
...
[Backport 3.6] Move scripts used by all-core.sh to the framework
2024-12-10 12:31:10 +00:00
Elena Uziunaite
383ae2f0db
Update submodule with the merge
...
Signed-off-by: Elena Uziunaite <elena.uziunaite@arm.com>
2024-12-10 09:43:43 +00:00
Elena Uziunaite
1552e11bb3
Update submodule
...
Signed-off-by: Elena Uziunaite <elena.uziunaite@arm.com>
2024-12-09 15:38:29 +00:00
Elena Uziunaite
e26f20e745
Adapt paths for scripts/quiet
...
Signed-off-by: Elena Uziunaite <elena.uziunaite@arm.com>
2024-12-09 15:37:49 +00:00
Elena Uziunaite
58172ae15e
Adapt paths for output_env.sh
...
Signed-off-by: Elena Uziunaite <elena.uziunaite@arm.com>
2024-12-09 15:37:49 +00:00
Elena Uziunaite
9837ad316a
Move files out of Mbed TLS
...
Signed-off-by: Elena Uziunaite <elena.uziunaite@arm.com>
2024-12-09 15:37:48 +00:00
Manuel Pégourié-Gonnard
2db55a5520
Merge pull request #9824 from Harry-Ramsey/remove-obsolete-ci-scripts-3.6
...
Backport 3.6: Remove obsolete CI Scripts
2024-12-09 10:49:50 +00:00
Harry Ramsey
816c7c27f4
Refactor scripts to use config.py instead of config.pl
...
This commit refactors scripts to use config.py which replaces config.pl.
Signed-off-by: Harry Ramsey <harry.ramsey@arm.com>
2024-12-05 10:55:31 +00:00
Harry Ramsey
8fae4b05ef
Remove obsolete tcp_client.pl
...
This commit removes tcp_client.pl and removes it from ssl-opt.sh as it
has been replaced by test_suite_ssl.
Signed-off-by: Harry Ramsey <harry.ramsey@arm.com>
2024-12-05 10:54:39 +00:00
Harry Ramsey
b5cfc05e89
Remove obsolete Travis CI scripts
...
This commit removes obsolete Travis CI scripts that are no longer
required due to the transition to a publically available CI image.
Signed-off-by: Harry Ramsey <harry.ramsey@arm.com>
2024-12-05 10:53:47 +00:00
Harry Ramsey
454cb09a3a
Remove obsolete Docker CI scripts
...
This commit removes Docker CI scripts from the repository as they are no
longer necessary with CI images being publically available.
Signed-off-by: Harry Ramsey <harry.ramsey@arm.com>
2024-12-05 10:53:37 +00:00
Janos Follath
42cb84fc4e
Merge pull request #9812 from SuperIlu/mbedtls-3.6
...
Mbedtls 3.6: Fix compilation on MS-DOS DJGPP
2024-12-03 09:12:12 +00:00
SuperIlu
f36f405c05
reworked changelog according to suggestion
...
Signed-off-by: SuperIlu <superilu@yahoo.com>
2024-12-02 21:25:11 +01:00
SuperIlu
95355befd5
Added changelog
...
Signed-off-by: SuperIlu <superilu@yahoo.com>
2024-12-01 10:32:07 +01:00
SuperIlu
7e6d4c13a8
Make mbedTLS compile with MS-DOS DJGPP
...
Signed-off-by: SuperIlu <superilu@yahoo.com>
2024-12-01 10:31:50 +01:00
David Horstmann
968ada439b
Merge pull request #9805 from eleuzi01/project-detection-submodule-update-backport
...
[Backport 3.6] Update framework submodule
2024-11-28 14:30:23 +00:00
Elena Uziunaite
6d9cd17332
Update submodule to point to main
...
Signed-off-by: Elena Uziunaite <elena.uziunaite@arm.com>
2024-11-28 09:35:20 +00:00
David Horstmann
cbb502191c
Merge pull request #9764 from eleuzi01/issue-39-backport
...
[Backport 3.6] Add project and branch detection in shell
2024-11-27 16:51:24 +00:00
Elena Uziunaite
695810a093
Define FRAMEWORK
...
Signed-off-by: Elena Uziunaite <elena.uziunaite@arm.com>
2024-11-27 13:21:53 +00:00
Elena Uziunaite
91f424a72d
Fix paths
...
Signed-off-by: Elena Uziunaite <elena.uziunaite@arm.com>
2024-11-27 13:21:53 +00:00
Elena Uziunaite
f1099cb77e
Use new functions
...
Signed-off-by: Elena Uziunaite <elena.uziunaite@arm.com>
2024-11-27 13:21:53 +00:00
Elena Uziunaite
e0be1f3406
Add project and branch detection in shell
...
Signed-off-by: Elena Uziunaite <elena.uziunaite@arm.com>
2024-11-27 13:21:50 +00:00
David Horstmann
e60b395aa5
Merge pull request #9762 from Harry-Ramsey/update-gcm-doc-3.6
...
[Backport 3.6] Fix doc on GCM API
2024-11-21 17:35:53 +00:00
Ronald Cron
c5197adef2
Merge pull request #9787 from ronald-cron-arm/move-back-test-configs
...
Move back test configs
2024-11-21 13:55:56 +01:00
Ronald Cron
83d21cc8f4
Move back *config_test_driver* headers from the framework
...
Signed-off-by: Ronald Cron <ronald.cron@arm.com>
2024-11-20 13:22:54 +01:00
Manuel Pégourié-Gonnard
540355ac9a
Merge pull request #9766 from davidhorstmann-arm/move-some-test-helpers-to-framework-3.6
...
[Backport 3.6] Move some test helpers to the framework
2024-11-20 09:55:48 +00:00
David Horstmann
4c67ae3344
Update framework submodule
...
Signed-off-by: David Horstmann <david.horstmann@arm.com>
2024-11-19 17:08:51 +00:00
David Horstmann
641f56e92e
Update framework to add ported test helper changes
...
Update the framework pointer to reference new changes to
tests/src/psa_exercise.key.c and tests/include/test/psa_exercise_key.h
that have been ported to the framework from the main repo.
Signed-off-by: David Horstmann <david.horstmann@arm.com>
2024-11-18 16:43:56 +00:00
David Horstmann
36b68aac82
Update framework submodule
...
Signed-off-by: David Horstmann <david.horstmann@arm.com>
2024-11-18 13:38:54 +00:00
David Horstmann
03a6a59e70
Update framework submodule
...
Signed-off-by: David Horstmann <david.horstmann@arm.com>
2024-11-15 13:57:46 +00:00
David Horstmann
057f10db19
Update framework submodule
...
Signed-off-by: David Horstmann <david.horstmann@arm.com>
2024-11-14 14:26:31 +00:00
David Horstmann
b25eaca940
Properly clean instrument_record_status.h
...
The paths to this header in clean: targets were missed previously when
changing paths to reflect the move of the header to the framework.
Signed-off-by: David Horstmann <david.horstmann@arm.com>
2024-11-14 14:19:50 +00:00
David Horstmann
bfbe5b4e37
Reverse accidental docs PSA test wrappers path
...
These were accidentally documented incorrectly in the PSA shared memory
documentation due to a global find and replace.
Signed-off-by: David Horstmann <david.horstmann@arm.com>
2024-11-14 14:19:50 +00:00
David Horstmann
44a9f2ff5f
Add missing dependency to hash testsuite
...
Signed-off-by: David Horstmann <david.horstmann@arm.com>
2024-11-14 14:19:49 +00:00
David Horstmann
cbf530dde7
Disable test hooks when checking missing symbols
...
The function mbedtls_test_hook_error_add() is declared in the library
but supplied by test helpers in framework/tests/src, so it is undefined
in library-only builds. This messes up our checks for missing symbols,
so disable MBEDTLS_TEST_HOOKS when we are building to check missing
symbols.
Signed-off-by: David Horstmann <david.horstmann@arm.com>
2024-11-14 14:19:49 +00:00
Harry Ramsey
5b80448105
Move mbedtls_test_hook_error_add from error.c to helpers.c
...
This commit moves mbedtls_test_hook_error_add from error.c to helpers.c.
Signed-off-by: Harry Ramsey <harry.ramsey@arm.com>
2024-11-14 14:19:49 +00:00
David Horstmann
0f33bfa48a
Add missing include path to visual C script
...
We need to include from both tests/include and framework/tests/include.
Update scripts/generate_visualc_files.pl to re-add tests/include, which
had previously been replaced with framework/tests/include.
Signed-off-by: David Horstmann <david.horstmann@arm.com>
2024-11-14 14:19:42 +00:00
David Horstmann
26e1862742
Update test_keys.h path on Windows
...
Signed-off-by: David Horstmann <david.horstmann@arm.com>
2024-11-14 14:19:42 +00:00
David Horstmann
501e9a9fee
Update paths to generated PSA test wrappers
...
These are not moving to the framework, so their paths are fine to stay
as they are, undo the update done through global search-replace.
Signed-off-by: David Horstmann <david.horstmann@arm.com>
2024-11-14 14:19:42 +00:00
David Horstmann
c54f0b3e37
Update generate path to instrument_record_status.h
...
Signed-off-by: David Horstmann <david.horstmann@arm.com>
2024-11-14 14:19:42 +00:00
David Horstmann
b19374f548
Update path to PSA crypto alt headers
...
Signed-off-by: David Horstmann <david.horstmann@arm.com>
2024-11-14 14:19:42 +00:00
David Horstmann
2ab59f0450
Add extra paths to generate_visualc_files.pl
...
Both the main repository and framework test helper paths are needed, so
generate these in the script.
Signed-off-by: David Horstmann <david.horstmann@arm.com>
2024-11-14 14:19:42 +00:00
David Horstmann
61b7b1e780
Update make clean target with moved test helpers
...
Test helpers that are now moved to the framework must be cleaned
properly.
Signed-off-by: David Horstmann <david.horstmann@arm.com>
2024-11-14 14:19:42 +00:00
David Horstmann
4d47ee4146
Update test_keys.h generation in Makefile
...
Signed-off-by: David Horstmann <david.horstmann@arm.com>
2024-11-14 14:19:42 +00:00
David Horstmann
685c19447f
Update libtestdriver paths in tests/Makefile
...
Signed-off-by: David Horstmann <david.horstmann@arm.com>
2024-11-14 14:19:42 +00:00
David Horstmann
45c83caf59
Add tests/Makefile targets for moved test helpers
...
Everything that has been moved to tests/src needs a Makefile target in
order to be built.
Signed-off-by: David Horstmann <david.horstmann@arm.com>
2024-11-14 14:19:42 +00:00
David Horstmann
fbedae40f1
Update common.mk with test helper object paths
...
Signed-off-by: David Horstmann <david.horstmann@arm.com>
2024-11-14 14:19:42 +00:00
David Horstmann
c2d7f5fc2e
Add framework test include path to common.mk
...
Signed-off-by: David Horstmann <david.horstmann@arm.com>
2024-11-14 14:19:42 +00:00
David Horstmann
1d9b033067
Add SSL-related test includes to ssl programs
...
Signed-off-by: David Horstmann <david.horstmann@arm.com>
2024-11-14 14:19:42 +00:00