Markus Ongyerth
214603e68f
tools: Add MD4 to test runner kernel config
2016-12-14 23:01:22 -06:00
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
Tim Kourt
eb6e3a5753
t-runner: add exit on hwsim failure
2016-05-13 20:12:21 -05:00
Tim Kourt
86e42a80e7
t-runner: Correct typo in usage
2016-05-13 20:12:02 -05:00
Tim Kourt
3d384b83b7
t-runner: Remove unnecessary line
2016-05-13 20:11:06 -05:00
Tim Kourt
c3213fb95d
t-runner: Improved error reporting in exec. program
2016-05-13 20:10:51 -05:00
Tim Kourt
7db9c05610
t-runner: add exit procedures after AP's failures
2016-05-13 20:10:30 -05:00
Tim Kourt
cc7617e506
t-runner: Replace the stat calls with function
2016-05-11 11:08:25 -05:00
Tim Kourt
cfc5f64317
t-runner: Change printfs to l logs
2016-05-09 12:48:45 -05:00
Tim Kourt
66b7a20f40
t-runner: Refactor log statement
2016-05-09 12:48:45 -05:00
Tim Kourt
8e6df3ab0b
t-runner: Make -enable-kvm param optional
2016-05-09 12:48:45 -05:00
Tim Kourt
f3f6ebc417
t-runner: Refactored wait loop
2016-05-09 12:48:45 -05:00
Tim Kourt
56f42f6df5
t-runner: Remove auto_run param from t-runner
2016-05-09 09:51:34 -05:00
Tim Kourt
a0cd11e89a
t-runner: Propagate --tests param into qemu
2016-05-09 09:50:07 -05:00
Tim Kourt
8b390fc142
t-runner: Add new arg. into t-runner: --tests
2016-05-09 09:48:32 -05:00
Denis Kenzior
1c9550aeb1
t-runner: Fix warning
...
tools/test-runner.c:1363:6: error: no previous declaration for
‘test_stat_queue_entry_destroy’ [-Werror=missing-declarations]
void test_stat_queue_entry_destroy(void *data)
2016-05-05 20:46:17 -05:00
Tim Kourt
5a34e3c2b6
t-runner: Refactored run_py_tests params
2016-05-05 20:45:42 -05:00
Tim Kourt
45c54945c3
t-runner: Introduce test stats, improve readability
2016-05-05 20:45:39 -05:00
Tim Kourt
2c3ab8e968
t-runner: Remove delay before the tests
2016-05-05 20:43:38 -05:00
Tim Kourt
364be241d0
t-runner: Change name of signal handler
2016-05-05 20:43:35 -05:00
Tim Kourt
9b339daeb9
t-runner: Add configurable max. test execution int
2016-05-05 20:42:58 -05:00
Tim Kourt
ccc962d040
t-runner: Remove DBus struct: no longer used
2016-05-05 20:41:18 -05:00
Tim Kourt
035d78f403
t-runner: Add test status for the timed out tests
2016-05-05 10:12:25 -05:00
Tim Kourt
347134cb24
t-runner: Change some of the log levels
2016-05-05 10:11:46 -05:00
Tim Kourt
58859212a3
t-runner: Remove unnecessary line brakes
2016-05-05 10:11:29 -05:00
Tim Kourt
16e997c424
t-runner: Refactor exec. timeout starting code
2016-05-05 09:11:21 -05:00
Tim Kourt
d9744f3824
t-runner: Replaced process kill signal
2016-05-05 09:06:43 -05:00
Tim Kourt
b4e3c0d45d
t-runner: Fix bug in min number of radios check
2016-05-05 09:06:08 -05:00
Tim Kourt
962653c0d6
t-runner: Remove the IWD service watchers
2016-05-05 09:05:39 -05:00
Tim Kourt
1365da5fdb
test-runner: Changed the set of QEMU parameters
2016-04-28 09:37:25 -05:00
Tim Kourt
1cf8279a1b
test-runner: Changed the set of parameters
2016-04-27 19:47:22 -05:00
Tim Kourt
5d6425b74a
test-runner: Replaced run_command with IWD's tasks
2016-04-27 19:46:54 -05:00
Tim Kourt
3fe7739e86
test-runner: Changed dbus starter to new functions
2016-04-27 19:46:09 -05:00
Tim Kourt
a63a32acfd
test-runner: autotest configurator and runner
2016-04-27 19:45:14 -05:00
Tim Kourt
c4fccc2717
test-runner: Python test executor
2016-04-27 19:44:14 -05:00
Tim Kourt
2898c8f2c8
test-runner: Test status formatter
2016-04-27 19:41:37 -05:00
Tim Kourt
81b189137a
test-runner: Controllers for IWD
2016-04-27 19:41:33 -05:00
Tim Kourt
d8d5449a45
test-runner: hostapd instance configurator
2016-04-27 19:40:35 -05:00
Tim Kourt
d0b72f8eb7
test-runner: The radio management functions
2016-04-27 19:36:54 -05:00
Tim Kourt
f775e5f53b
test-runner: Adding the HW configuration readers
2016-04-27 19:36:36 -05:00
Tim Kourt
10197f4943
test-runner: Dir. discovery and filtration functions
2016-04-27 19:36:14 -05:00
Tim Kourt
313c605a2f
test-runner: Added the hostapd control functions
2016-04-27 19:35:25 -05:00
Tim Kourt
09463912d1
test-runner: Added the hwsim control functions
2016-04-27 19:34:34 -05:00
Tim Kourt
b70e2c8a35
test-runner: Added the interface control functions
2016-04-27 19:33:46 -05:00
Tim Kourt
e023eb2287
test-runner: Added various utility functions
2016-04-27 19:33:21 -05:00
Tim Kourt
5d29871d89
hwsim: Fixed the errors reported by checkpatch.pl
2016-04-20 21:24:48 -05:00
Tim Kourt
3cb5213435
test-runner: fixed the type qualifier errors
2016-04-20 17:42:16 -05:00
Tim Kourt
dda07316e6
test-runner: Removed the BlueZ related code
2016-04-14 21:35:52 -05:00
Tim Kourt
00673ba76a
tools: Fixed the errors reported by checkpatch.pl
2016-04-12 13:49:00 -05:00
Tim Kourt
2440d4cfd3
tools: Copy test-runner.c from BlueZ
...
BlueZ commit id: 6aa37338ff72fa2b7bc71766f33e4979cd1526fd
2016-04-11 14:31:56 -05:00
Andrzej Zaborowski
92841b4976
hwsim: Don't try l_genl_attr_next if _attr_init fails.
...
This was causing a segfault.
2015-04-17 10:50:56 -05:00