Skip to content

4h6h/rasta_s_rxf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Running the code

Running tests using cmocka

Prerequisite:

It needs test framework cmocka installed on your computer.

Build:

mkdir build  
cd build  
cmake "../" -D"CMAKE_BUILD_TYPE=Debug"  
make  

Execute:

cd build  
./isc_client

Running it standalone

Build:

mkdir build
cd build
cmake "../" -D"CMAKE_BUILD_TYPE=Debug" -D"USE_TEST_CMOCKA=OFF"
make

Execute:

cd build
./isc_client

Running it as client or server

Build as client:

Configuration in RastaS_Lcfg_client.c

mkdir build
cd build
cmake "../" -D"CMAKE_BUILD_TYPE=Debug" -D"USE_TEST_CMOCKA=OFF"
make

Execute as client

cd build
./isc_client

Build as server

Configuration in RastaS_Lcfg_server.c

mkdir build
cd build
cmake "../" -D"CMAKE_BUILD_TYPE=Debug" -D"USE_TEST_CMOCKA=OFF" -D"USE_CFG_SERVER=ON"
make

Execute as server

cd build
./isc_server

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published