Skip to content
Snippets Groups Projects
  • Shubham's avatar
    95007528
    Test, coverage and documentation fixes · 95007528
    Shubham authored and Rahul Thakur's avatar Rahul Thakur committed
     - all test scenarios added for functional testing
     - wrong method for qos object
     - strncpy fixed and ports uci file needed for testing
     - compilation fix for functional test
     - Added dummy test stats for test platform
     - removed reload from documentation
     - unnecessary test removal
    95007528
    History
    Test, coverage and documentation fixes
    Shubham authored and Rahul Thakur's avatar Rahul Thakur committed
     - all test scenarios added for functional testing
     - wrong method for qos object
     - strncpy fixed and ports uci file needed for testing
     - compilation fix for functional test
     - Added dummy test stats for test platform
     - removed reload from documentation
     - unnecessary test removal
functional-test.sh 344 B
#!/bin/bash

echo "Functional Test"
pwd

make coverage -C ./
supervisorctl status all
supervisorctl update
sleep 3
supervisorctl status all

make functional-test -C ./

supervisorctl stop all
supervisorctl status

#report part
#GitLab-CI output
gcovr -r .
# Artefact
gcovr -r . --xml -o ./functional-test-coverage.xml
date +%s > timestamp.log