ocf/tests/unit/framework
Rafal Stefanowski f22da1cde7 Fix license
Change license to BSD-3-Clause

Signed-off-by: Rafal Stefanowski <rafal.stefanowski@intel.com>
2021-10-28 13:08:50 +02:00
..
.gitignore ut: Add .gitignore 2020-03-23 12:33:12 +01:00
add_new_test_file.py Fix license 2021-10-28 13:08:50 +02:00
prepare_sources_for_testing.py Fix license 2021-10-28 13:08:50 +02:00
README Add build requirements to unit tests readme 2020-12-17 14:35:28 +01:00
run_unit_tests.py Fix license 2021-10-28 13:08:50 +02:00
tests_config.py Fix license 2021-10-28 13:08:50 +02:00

GENERATING NEW TEST
	To add new test, run "add_new_test_file.py" with two parameters:
		- tested file path (path must be relative to your current working dir)
		- tested function name
	Generated file name may be changed without any consequences.

	Good practise is to use "add_new_test_file.py" script from test directory (not framework),
	because it prepend appropriate license header.

RUNNING SINGLE TEST
	Executable tests files are stored by default in 'UT_dir/build/sources_to_test_repository/'

REQUIREMENTS FOR BUILD:
- cmocka
- cmake
- ctags (Exuberant version)
- nm, gcc, make