kworkflow / kworkflow

kw is our inglorious kernel developer workflow tool with a simple mission: reduce the overhead with infrastructure setup for Linux development
https://kworkflow.org/
GNU General Public License v2.0
127 stars 91 forks source link

Add integration tests for kw mail #1068

Open aquilamacedo opened 7 months ago

aquilamacedo commented 7 months ago

Description:

Initiate integration tests designed for kw mail functionality to ensure its effectiveness and fortify system resilience.

AbhinavMir commented 4 months ago

Hi, quick question: How can I list all the integration tests? ./run_tests.sh --integration list doesn't seem to work, is there a difference between docs and expected behavior?

➜  kworkflow git:(master) ./run_tests.sh --integration list  
Usage: ./run_tests.sh [help] [list] [test <tfile1> ...]
Run tests for kworkflow.
Example: ./run_tests.sh test kw_test

  help - displays this help message
  list - lists all test files under tests/
  test - runs the given test
➜  kworkflow git:(master) ./run_tests.sh --integration test device
Usage: ./run_tests.sh [help] [list] [test <tfile1> ...]
Run tests for kworkflow.
Example: ./run_tests.sh test kw_test

  help - displays this help message
  list - lists all test files under tests/
  test - runs the given test
➜  kworkflow git:(master) 
aquilamacedo commented 4 months ago

Hi @AbhinavMir. You're encountering this error because you are on the master branch. These integration test changes are recent and are currently in the unstable branch. Run the same command ./run_tests.sh --integration list, but on the unstable branch :)

AbhinavMir commented 4 months ago

thx @aquilamacedo ! I made some decent progress I'll link to in a bit!