ocf/tests/unit/framework
Adam Rutkowski b1143374a8 Move eviction files to new locations
src/eviction/lru.c -> src/ocf_lru.c
src/eviction/lru.h -> src/ocf_lru.h
src/eviction/lru_structs.h -> src/ocf_lru_structs.h
src/eviction/eviction.c -> src/ocf_space.c
src/eviction/eviction.h -> src/ocf_space.h

.. as well as corresponding UT files.

Signed-off-by: Adam Rutkowski <adam.j.rutkowski@intel.com>

... in UT as well

Signed-off-by: Adam Rutkowski <adam.j.rutkowski@intel.com>
2021-06-18 12:19:08 +02:00
..
.gitignore ut: Add .gitignore 2020-03-23 12:33:12 +01:00
add_new_test_file.py Update copyright statements (2021) 2021-01-21 13:17:34 +01:00
prepare_sources_for_testing.py ut framework: don't mock env functions 2021-03-19 16:08:27 +01:00
README Add build requirements to unit tests readme 2020-12-17 14:35:28 +01:00
run_unit_tests.py Update copyright statements (2021) 2021-01-21 13:17:34 +01:00
tests_config.py Move eviction files to new locations 2021-06-18 12:19:08 +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