feat: add tests folder
This commit is contained in:
20
tests/unit/build/CMakeFiles/test_main.dir/C.includecache
Normal file
20
tests/unit/build/CMakeFiles/test_main.dir/C.includecache
Normal file
@@ -0,0 +1,20 @@
|
||||
#IncludeRegexLine: ^[ ]*[#%][ ]*(include|import)[ ]*[<"]([^">]+)([">])
|
||||
|
||||
#IncludeRegexScan: ^.*$
|
||||
|
||||
#IncludeRegexComplain: ^$
|
||||
|
||||
#IncludeRegexTransform:
|
||||
|
||||
/home/cseguret/Projects/app-ethereum/tests/unit/tests/main.c
|
||||
stdarg.h
|
||||
-
|
||||
stddef.h
|
||||
-
|
||||
setjmp.h
|
||||
-
|
||||
cmocka.h
|
||||
-
|
||||
|
||||
_deps/cmocka-src/include/cmocka.h
|
||||
|
||||
31
tests/unit/build/CMakeFiles/test_main.dir/DependInfo.cmake
Normal file
31
tests/unit/build/CMakeFiles/test_main.dir/DependInfo.cmake
Normal file
@@ -0,0 +1,31 @@
|
||||
# The set of languages for which implicit dependencies are needed:
|
||||
set(CMAKE_DEPENDS_LANGUAGES
|
||||
"C"
|
||||
)
|
||||
# The set of files for implicit dependencies of each language:
|
||||
set(CMAKE_DEPENDS_CHECK_C
|
||||
"/home/cseguret/Projects/app-ethereum/tests/unit/tests/main.c" "/home/cseguret/Projects/app-ethereum/tests/unit/build/CMakeFiles/test_main.dir/tests/main.c.o"
|
||||
)
|
||||
set(CMAKE_C_COMPILER_ID "GNU")
|
||||
|
||||
# Preprocessor definitions for this target.
|
||||
set(CMAKE_TARGET_DEFINITIONS_C
|
||||
"DEBUG=0"
|
||||
"SKIP_FOR_CMOCKA"
|
||||
"TEST"
|
||||
)
|
||||
|
||||
# The include file search paths:
|
||||
set(CMAKE_C_TARGET_INCLUDE_PATH
|
||||
"../../../src"
|
||||
"../../../src_common"
|
||||
"_deps/cmocka-src/include"
|
||||
)
|
||||
|
||||
# Targets to which this target links.
|
||||
set(CMAKE_TARGET_LINKED_INFO_FILES
|
||||
"/home/cseguret/Projects/app-ethereum/tests/unit/build/_deps/cmocka-build/src/CMakeFiles/cmocka.dir/DependInfo.cmake"
|
||||
)
|
||||
|
||||
# Fortran module output directory.
|
||||
set(CMAKE_Fortran_TARGET_MODULE_DIR "")
|
||||
99
tests/unit/build/CMakeFiles/test_main.dir/build.make
Normal file
99
tests/unit/build/CMakeFiles/test_main.dir/build.make
Normal file
@@ -0,0 +1,99 @@
|
||||
# CMAKE generated file: DO NOT EDIT!
|
||||
# Generated by "Unix Makefiles" Generator, CMake Version 3.16
|
||||
|
||||
# Delete rule output on recipe failure.
|
||||
.DELETE_ON_ERROR:
|
||||
|
||||
|
||||
#=============================================================================
|
||||
# Special targets provided by cmake.
|
||||
|
||||
# Disable implicit rules so canonical targets will work.
|
||||
.SUFFIXES:
|
||||
|
||||
|
||||
# Remove some rules from gmake that .SUFFIXES does not remove.
|
||||
SUFFIXES =
|
||||
|
||||
.SUFFIXES: .hpux_make_needs_suffix_list
|
||||
|
||||
|
||||
# Suppress display of executed commands.
|
||||
$(VERBOSE).SILENT:
|
||||
|
||||
|
||||
# A target that is always out of date.
|
||||
cmake_force:
|
||||
|
||||
.PHONY : cmake_force
|
||||
|
||||
#=============================================================================
|
||||
# Set environment variables for the build.
|
||||
|
||||
# The shell in which to execute make rules.
|
||||
SHELL = /bin/sh
|
||||
|
||||
# The CMake executable.
|
||||
CMAKE_COMMAND = /usr/bin/cmake
|
||||
|
||||
# The command to remove a file.
|
||||
RM = /usr/bin/cmake -E remove -f
|
||||
|
||||
# Escaping for special characters.
|
||||
EQUALS = =
|
||||
|
||||
# The top-level source directory on which CMake was run.
|
||||
CMAKE_SOURCE_DIR = /home/cseguret/Projects/app-ethereum/tests/unit
|
||||
|
||||
# The top-level build directory on which CMake was run.
|
||||
CMAKE_BINARY_DIR = /home/cseguret/Projects/app-ethereum/tests/unit/build
|
||||
|
||||
# Include any dependencies generated for this target.
|
||||
include CMakeFiles/test_main.dir/depend.make
|
||||
|
||||
# Include the progress variables for this target.
|
||||
include CMakeFiles/test_main.dir/progress.make
|
||||
|
||||
# Include the compile flags for this target's objects.
|
||||
include CMakeFiles/test_main.dir/flags.make
|
||||
|
||||
CMakeFiles/test_main.dir/tests/main.c.o: CMakeFiles/test_main.dir/flags.make
|
||||
CMakeFiles/test_main.dir/tests/main.c.o: ../tests/main.c
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/home/cseguret/Projects/app-ethereum/tests/unit/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_1) "Building C object CMakeFiles/test_main.dir/tests/main.c.o"
|
||||
/usr/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -o CMakeFiles/test_main.dir/tests/main.c.o -c /home/cseguret/Projects/app-ethereum/tests/unit/tests/main.c
|
||||
|
||||
CMakeFiles/test_main.dir/tests/main.c.i: cmake_force
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/test_main.dir/tests/main.c.i"
|
||||
/usr/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -E /home/cseguret/Projects/app-ethereum/tests/unit/tests/main.c > CMakeFiles/test_main.dir/tests/main.c.i
|
||||
|
||||
CMakeFiles/test_main.dir/tests/main.c.s: cmake_force
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/test_main.dir/tests/main.c.s"
|
||||
/usr/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -S /home/cseguret/Projects/app-ethereum/tests/unit/tests/main.c -o CMakeFiles/test_main.dir/tests/main.c.s
|
||||
|
||||
# Object files for target test_main
|
||||
test_main_OBJECTS = \
|
||||
"CMakeFiles/test_main.dir/tests/main.c.o"
|
||||
|
||||
# External object files for target test_main
|
||||
test_main_EXTERNAL_OBJECTS =
|
||||
|
||||
test_main: CMakeFiles/test_main.dir/tests/main.c.o
|
||||
test_main: CMakeFiles/test_main.dir/build.make
|
||||
test_main: _deps/cmocka-build/src/libcmocka.so.0.7.0
|
||||
test_main: CMakeFiles/test_main.dir/link.txt
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --bold --progress-dir=/home/cseguret/Projects/app-ethereum/tests/unit/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_2) "Linking C executable test_main"
|
||||
$(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/test_main.dir/link.txt --verbose=$(VERBOSE)
|
||||
|
||||
# Rule to build all files generated by this target.
|
||||
CMakeFiles/test_main.dir/build: test_main
|
||||
|
||||
.PHONY : CMakeFiles/test_main.dir/build
|
||||
|
||||
CMakeFiles/test_main.dir/clean:
|
||||
$(CMAKE_COMMAND) -P CMakeFiles/test_main.dir/cmake_clean.cmake
|
||||
.PHONY : CMakeFiles/test_main.dir/clean
|
||||
|
||||
CMakeFiles/test_main.dir/depend:
|
||||
cd /home/cseguret/Projects/app-ethereum/tests/unit/build && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/cseguret/Projects/app-ethereum/tests/unit /home/cseguret/Projects/app-ethereum/tests/unit /home/cseguret/Projects/app-ethereum/tests/unit/build /home/cseguret/Projects/app-ethereum/tests/unit/build /home/cseguret/Projects/app-ethereum/tests/unit/build/CMakeFiles/test_main.dir/DependInfo.cmake --color=$(COLOR)
|
||||
.PHONY : CMakeFiles/test_main.dir/depend
|
||||
|
||||
10
tests/unit/build/CMakeFiles/test_main.dir/cmake_clean.cmake
Normal file
10
tests/unit/build/CMakeFiles/test_main.dir/cmake_clean.cmake
Normal file
@@ -0,0 +1,10 @@
|
||||
file(REMOVE_RECURSE
|
||||
"CMakeFiles/test_main.dir/tests/main.c.o"
|
||||
"test_main"
|
||||
"test_main.pdb"
|
||||
)
|
||||
|
||||
# Per-language clean rules from dependency scanning.
|
||||
foreach(lang C)
|
||||
include(CMakeFiles/test_main.dir/cmake_clean_${lang}.cmake OPTIONAL)
|
||||
endforeach()
|
||||
@@ -0,0 +1,6 @@
|
||||
# CMAKE generated file: DO NOT EDIT!
|
||||
# Generated by "Unix Makefiles" Generator, CMake Version 3.16
|
||||
|
||||
CMakeFiles/test_main.dir/tests/main.c.o
|
||||
/home/cseguret/Projects/app-ethereum/tests/unit/tests/main.c
|
||||
_deps/cmocka-src/include/cmocka.h
|
||||
6
tests/unit/build/CMakeFiles/test_main.dir/depend.make
Normal file
6
tests/unit/build/CMakeFiles/test_main.dir/depend.make
Normal file
@@ -0,0 +1,6 @@
|
||||
# CMAKE generated file: DO NOT EDIT!
|
||||
# Generated by "Unix Makefiles" Generator, CMake Version 3.16
|
||||
|
||||
CMakeFiles/test_main.dir/tests/main.c.o: ../tests/main.c
|
||||
CMakeFiles/test_main.dir/tests/main.c.o: _deps/cmocka-src/include/cmocka.h
|
||||
|
||||
10
tests/unit/build/CMakeFiles/test_main.dir/flags.make
Normal file
10
tests/unit/build/CMakeFiles/test_main.dir/flags.make
Normal file
@@ -0,0 +1,10 @@
|
||||
# CMAKE generated file: DO NOT EDIT!
|
||||
# Generated by "Unix Makefiles" Generator, CMake Version 3.16
|
||||
|
||||
# compile C with /usr/bin/cc
|
||||
C_FLAGS = -g -Wall -pedantic -g -O0 --coverage -std=gnu11
|
||||
|
||||
C_DEFINES = -DDEBUG=0 -DSKIP_FOR_CMOCKA -DTEST
|
||||
|
||||
C_INCLUDES = -I/home/cseguret/Projects/app-ethereum/tests/unit/../../src -I/home/cseguret/Projects/app-ethereum/tests/unit/../../src_common -I/home/cseguret/Projects/app-ethereum/tests/unit/build/_deps/cmocka-src/include
|
||||
|
||||
1
tests/unit/build/CMakeFiles/test_main.dir/link.txt
Normal file
1
tests/unit/build/CMakeFiles/test_main.dir/link.txt
Normal file
@@ -0,0 +1 @@
|
||||
/usr/bin/cc -g -Wall -pedantic -g -O0 --coverage --coverage -lgcov CMakeFiles/test_main.dir/tests/main.c.o -o test_main -Wl,-rpath,/home/cseguret/Projects/app-ethereum/tests/unit/build/_deps/cmocka-build/src _deps/cmocka-build/src/libcmocka.so.0.7.0 -lgcov
|
||||
3
tests/unit/build/CMakeFiles/test_main.dir/progress.make
Normal file
3
tests/unit/build/CMakeFiles/test_main.dir/progress.make
Normal file
@@ -0,0 +1,3 @@
|
||||
CMAKE_PROGRESS_1 = 6
|
||||
CMAKE_PROGRESS_2 = 7
|
||||
|
||||
BIN
tests/unit/build/CMakeFiles/test_main.dir/tests/main.c.gcda
Normal file
BIN
tests/unit/build/CMakeFiles/test_main.dir/tests/main.c.gcda
Normal file
Binary file not shown.
BIN
tests/unit/build/CMakeFiles/test_main.dir/tests/main.c.gcno
Normal file
BIN
tests/unit/build/CMakeFiles/test_main.dir/tests/main.c.gcno
Normal file
Binary file not shown.
BIN
tests/unit/build/CMakeFiles/test_main.dir/tests/main.c.o
Normal file
BIN
tests/unit/build/CMakeFiles/test_main.dir/tests/main.c.o
Normal file
Binary file not shown.
Reference in New Issue
Block a user