Skip to content
Snippets Groups Projects
  1. Apr 19, 2017
  2. Apr 18, 2017
  3. Apr 14, 2017
  4. Aug 15, 2016
  5. Aug 12, 2016
  6. Jul 13, 2016
  7. Jul 08, 2016
  8. Jul 01, 2016
    • Masood Malekghassemi's avatar
      Make running individual Python tests less painful · 3b5b2068
      Masood Malekghassemi authored
      Before this change, running Python tests individually required
      building a tox environment via the run_tests script and then specifying
      long environment variables to filter out just the test we wanted to run
      (and then we wouldn't be able to get the output on interrupt, nor would
      we have an easy way of determining the PID of the process for debugger
      attachment). Now invoking the build_python.sh script creates a workable
      python virtual environment that includes all necessary libraries and
      tests (s.t. running a single test is now possible by just knowing the
      module name). This does not change existing supported means of running
      tests (e.g. through run_tests.py).
      
      An additional way of running individual tests has been introduced.
      Following invocation of `./tools/run_tests/build_python.sh` (or
      run_tests.py), one may invoke
      
        ./$VENV/bin/python -m $TEST_MODULE_NAME
      
      and acquire a single running process that *is* the test process (rather
      than a parent of the process). $VENV is the virtual environment name
      specified to `build_python.sh` (defaults to `py27`) and
      $TEST_MODULE_NAME is what it says on the tin.
      3b5b2068
  9. Jun 22, 2016
  10. Mar 30, 2016
  11. Feb 19, 2016
  12. Feb 13, 2016
  13. Feb 12, 2016
  14. Feb 09, 2016
  15. Jan 23, 2016
  16. Jan 11, 2016
  17. Jan 07, 2016
Loading