Skip to content

Unit test environment for sonic-swss/orchagent

Notifications You must be signed in to change notification settings

iris00522/sonic-swss-dev

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

Unit test environment for SONiC sonic-swss/orchagent

Getting Started

git clone https://github.com/ezio-chen/sonic-swss-dev
cd sonic-swss-dev/

sudo bash -x install-pkg.sh -g

cd ..
mkdir <build-dir> && cd <build-dir>
bash -x <source-dir>/build.sh
source packages/.env


# Run the tests
## Start the redis-server with UNIX socket at the first time
bash -x <build-dir>/redis/start_redis.sh

<build-dir>/tests.out

## Stop the redis-server after you don't need it.
bash -x redis/stop_redis.sh

# Generate code coverage
cd <build-dir>
make test_coverage

About

Unit test environment for sonic-swss/orchagent

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 63.5%
  • CMake 30.7%
  • Shell 3.2%
  • C 1.7%
  • Other 0.9%