Skip to content
  • Richard Neill's avatar
    ewaol-tests: If a test suite fails, print the log-file to stdout for debugging · 97220c8a
    Richard Neill authored and Kamil Dzieżyk's avatar Kamil Dzieżyk committed
    To do this, print the log from the generic run-* script that executes each test
    suite. As this generic script doesn't know what test suite it will be running,
    or what the user might customize that test suite's log file to be, use a
    hard-coded temporary log-file placed in the same volatile runtime directory that
    is used for storing the test PIDs, and log messages to that file simultaneously
    with the normal logging procedure.
    
    Also, this patch allows setting extra parameters to be passed to bats "run-.*"
    scripts via the 'EWAOL_TEST_OPTIONS' build-time variable. Currently, it is set
    to "--show-output-of-passing-tests" to give the user more information about
    what the test suite is doing at run-time.
    
    Furthermore, spaces are replaced with tabs in the 'run-test-suite' file to allow
    better code readability with here-document indentions, along with two more
    variables: 'TEST_RUNTIME_DIR' and 'EWAOL_TEST_BATS_OPTIONS', are set with the
    e...
    97220c8a