Skip to content

Commit 58be834

Browse files
authored
[script]: Expose test results to Jenkins (#40)
Signed-off-by: Shu0T1an ChenG <[email protected]>
1 parent 2e496c4 commit 58be834

File tree

1 file changed

+2
-7
lines changed
  • scripts/common/sonic-swss-common-build

1 file changed

+2
-7
lines changed

scripts/common/sonic-swss-common-build/test.sh

+2-7
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,6 @@ sudo service redis-server start
99
sudo dpkg -i libswsscommon_*.deb
1010
sudo dpkg -i python-swsscommon_*.deb
1111

12-
pushd sonic-swss-common
12+
cd sonic-swss-common
1313

14-
sudo ./tests/tests
15-
16-
redis-cli FLUSHALL
17-
py.test tests
18-
19-
popd
14+
sudo ./tests/tests && redis-cli FLUSHALL && pytest

0 commit comments

Comments
 (0)