Denis Kenzior
6e729f6175
test-runner: Make sure to chdir to top_level_path
...
Some unit tests expect to be running from the top level iwd tree
directory to load certificates and such. Make sure that test-runner
chdirs to the appropriate directory prior to running the unit tests.
2016-12-14 15:52:28 -06:00
Tim Kourt
8bc1b6866f
tools: Add option for CMAC in 4.9.0-rc5+
2016-12-06 17:04:07 -06:00
Tim Kourt
22a7a209d0
tools: Add required for 4.9.0-rc5+ config option
2016-12-06 15:18:50 -06:00
Tim Kourt
f21698095b
t-runner: Specify a python version to run
2016-11-30 22:57:16 -06:00
Tim Kourt
8d7b88ad25
t-runner: Disable PMU emulation for a guest
2016-11-30 22:57:13 -06:00
Tim Kourt
a2d638791d
t-runner: Enable unit test support
2016-11-29 11:34:07 -06:00
Tim Kourt
50dff98280
t-runner: Rename abs_path_dir_list to tmpfs_extra_stuff
2016-11-03 13:30:06 -05:00
Tim Kourt
445f872ecd
t-runner: use iwd config file option
2016-11-02 17:24:51 -05:00
Tim Kourt
c35366fc38
t-runner: Move chdir into the earlier stages
2016-10-12 10:31:32 -05:00
Tim Kourt
60c4f0bc0d
t-runner: Allow relative paths in abs dir mapping
2016-10-12 10:31:11 -05:00
Tim Kourt
e29b193195
t-runner: Remove chdirs before exec. of hwsim
2016-10-12 10:27:17 -05:00
Tim Kourt
5d7f523bbf
t-runner: Make start of IWD instance optional
2016-10-05 18:05:33 -05:00
Tim Kourt
f93b7dfad1
t-runner: Add symlink for absolute dir. paths
2016-10-03 21:23:21 -05:00
Tim Kourt
7ff9876c47
t-runner: Add python file extensions
2016-10-03 21:23:15 -05:00
Tim Kourt
b1ed586365
t-runner: Mount IWD's storage to tmpfs
2016-10-03 13:52:42 -05:00
Mat Martineau
95017e8722
tools: More key and crypto kernel config parameters
2016-09-05 22:40:07 -05:00
Tim Kourt
6324f96e5d
tools: Add kernel config option
2016-09-02 00:24:08 -05:00
Tim Kourt
e7731f27ec
tools: Update kernel config for t-r to use new opts
2016-07-13 10:24:42 -05:00
Tim Kourt
34ffadb087
hwsim: Make attribute names consistent
2016-07-13 10:23:31 -05:00
Tim Kourt
d815004b31
t-runner: Register hwsim as a transmission medium
2016-07-13 10:23:06 -05:00
Tim Kourt
c6fb438c73
hwsim: Report exit status to the parent
2016-07-13 10:06:52 -05:00
Tim Kourt
1732dcfb66
t-runner: Set debug environment var for hwsim
2016-07-07 15:44:02 -05:00
Tim Kourt
912a97719a
t-runner: Make radio and interface lists optional
2016-07-07 15:35:04 -05:00
Tim Kourt
0b8d641d2e
hwsim: Refactor create/list/destroy action logic
2016-07-07 15:20:59 -05:00
Tim Kourt
a7916ebdf2
hwsim: Fix string length bug
2016-07-07 13:44:23 -05:00
Denis Kenzior
8b20019ded
hwsim: Add option to enable p2p support
2016-07-07 12:26:16 -05:00
Tim Kourt
4d5e4b929c
t-runner: Report if. removal status
2016-06-16 18:23:09 -05:00
Tim Kourt
7fa2ac7b67
t-runner: Use radio identifiers in service assign.
2016-06-16 18:23:06 -05:00
Tim Kourt
6d0bef0bfb
t-runner: Add -i parameter into hostapd start cmd
2016-06-16 18:21:20 -05:00
Denis Kenzior
b3abd2f7ca
test-runner: add debug info for cmd being executed
2016-06-09 09:56:40 -05:00
Denis Kenzior
d9848730ed
test-runner: Update to the new l_main API
2016-06-09 09:56:40 -05:00
Denis Kenzior
87296b4aab
hwsim: Update to new l_main api
2016-06-09 09:56:37 -05:00
Tim Kourt
5ac9a20e4f
tools: Add test_runner_kernel_config
2016-06-06 12:15:05 -05:00
Tim Kourt
10be3c27b9
t-runner: Search for iwd in both /src and $PATH
2016-06-06 12:08:56 -05:00
Denis Kenzior
411af28489
t-runner: Add command line option for debug output
2016-06-03 09:48:58 -05:00
Tim Kourt
bc22e66df5
t-runner: Remove debug statements
2016-06-03 09:42:51 -05:00
Denis Kenzior
d53873a254
test-runner: Fix buffer overflow
...
The argv buffer allocated by alloca is only large enough to hold the
original argument list. Additional arguments (such as --kernel) are
appended at the end, which results in the stack corruption. Make sure
to allocate space for additional arguments.
2016-05-26 10:07:32 -05:00
Denis Kenzior
f4becdff6a
test-runner: Use '-cpu host' in kvm mode
...
When KVM is available, use the -cpu host option. This is useful on
distributions that might use architecture specific optimizations, which
might not be available on the default machine being emulated by qemu.
For example, a Gentoo box compiled with "-march=core-avx2" would result
in several binaries not executing properly inside the qemu environment
due to instruction set mismatches.
2016-05-26 10:06:58 -05:00
Tim Kourt
d6d0b1d7d8
t-runner: Refactor D-bus starting logic
2016-05-20 10:18:05 -05:00
Tim Kourt
05df895da4
t-runner: Start 'haveged' by default
2016-05-20 10:17:57 -05:00
Tim Kourt
1c901bcc13
t-runner: Propagate host's $PATH var. into sim. env.
2016-05-19 13:24:51 -05:00
Tim Kourt
52611afe6f
t-runner: Start SW entropy generator if no HW avail.
2016-05-18 14:04:03 -05:00
Tim Kourt
94b2c00534
t-runner: make kvm accel. optional
2016-05-18 14:04:03 -05:00
Tim Kourt
63a4972672
hwsim: Remove bogus info msg
2016-05-18 14:01:52 -05:00
Tim Kourt
1a7a1f5b84
t-runner: Change format of the summary row
2016-05-18 14:01:28 -05:00
Tim Kourt
5e6912afd6
t-runner: Add params into hwsim create action
2016-05-17 17:58:16 -05:00
Tim Kourt
9536c27d35
hwsim: Add params: --name, --nointerface
2016-05-17 17:58:13 -05:00
Tim Kourt
900a10d3c7
t-runner: Absence of hostapd instances is ok now
2016-05-13 20:19:34 -05:00
Tim Kourt
1f6939016d
t-runner: fix bug in check for radio configs
2016-05-13 20:19:34 -05:00
Tim Kourt
6ee5d6b7c0
t-runner: Bug fix in num radios check
2016-05-13 20:19:34 -05:00