| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
* share/dtf/lib/tests (dtf_fail): Add new $dtf_fail_hooks
variable. It is aimed to contain list of shell functions to be
execute upon failure.
|
|
|
|
|
|
|
| |
* share/dtf/lib/tests (dtf_assert): Handle new action 'cmd'.
(__dtf_cmd): New internal wrapper around shell eval.
(__dtf_assert_cmd): New internal function - checks that that
__dtf_cmd ends with proper exit status.
|
|
|
|
|
| |
* share/dtf/lib/tests (dtf_pkg_install): Fix C&P mistakes.
(dtf_pkg_remove): Likewise.
|
|
|
|
|
|
|
|
| |
* bin/dtf-gen (DG): Allow to be overridden from environment.
* share/dtf/lib/tests (dtf_pkg): Merge similar functions into one.
(dtf_pkg_install): Use dtf_pkg.
(dtf_pkg_remove): New function.
(__dtf_prereq_pkg): Handle 'missing' argument.
|
|
|
|
|
|
|
|
| |
* share/dtf/lib/tests (dtf_debug): New function to simplify
debugging.
(__dtf_debug): Internal wrapper for debugging.
(dtf_pkg_install): Be more verbose if the method is used wrongly.
(dtf_prereq): Accept 'pkg installed' subaction.
|
|
|
|
|
|
|
|
| |
This is useful for particular test-cases. Also, this is generated
for target system/architecture.
* bin/dtf-gen: Include expanded 'tests' template into 'library'.
* share/dtf/lib/tests: New library file.
|
|
|
|
| |
* share/dtf/tpl/run.tpl: Fix quotation.
|
| |
|
|
|
|
|
|
|
|
| |
ROOT testname is not the same as $__DTF_TOP_TEST for run files
within subdirectory.
* share/dtf/lib/default: Check for $testname = ROOT rather than
for $__DTF_TOP_TEST.
|
|
|
|
|
|
|
|
|
| |
* bin/dtf-gen: Use /bin/sh shebang.
* share/dtf/lib/default: Likewise.
(__dtf_internal_fail): New internal method.
(__dtf_run_testcase): Play with mkfifo.
* share/dtf/tpl/run.tpl: Use /bin/sh shebang. Remove $outputdir
before script start.
|
|
* bin/dtf-gen: New script.
* dtf-gen: New wrapper to be run from git.
* share/dtf/lib/default: Library script.
* share/dtf/tpl/run.tpl: Template for 'run' wrapper.
|