1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2025-01-18 12:06:08 +00:00
workload-automation/tests
Jonathan Paynter 7cf5fbd8af framework, tests: Correct signal disconnection
While the Louie system operated on weakrefs for the callback
functions, the priority list wrapper did not. This difference led to
weakrefs to callback functions being compared to strong references in
list element operations within Louie's disconnect method, so that
handler methods were not disconnected from signals.

Converting the receiver to a weakref then allowed Louie to operate as
normal, which may include deleting and re-appending the handler method
to the receivers list. As ``append`` is a dummy method that allows the
priority list implementation, the handler method is then never added
back to the list of connected functions, so we must ``add`` it after
``connect`` is called.

Also included is a testcase to confirm the proper disconnection of
signals.
2020-07-14 17:31:38 +01:00
..
data tests: fix pytest warnings 2019-12-03 14:03:18 +00:00
travis Travis: Run the idle workload as part of the tests. 2018-07-10 12:56:51 +01:00
__init__.py tests: moved out of wa package 2017-04-27 17:36:44 +01:00
test_agenda_parser.py tests/test_agenda_parser: Ensure anchors can be used as part of agenda 2019-05-17 20:04:33 +01:00
test_config.py Update copyright headers. 2018-07-04 16:33:31 +01:00
test_diff.py Update copyright headers. 2018-07-04 16:33:31 +01:00
test_exec_control.py util/exec_control: add once_per_attribute_value 2020-02-07 16:49:48 +00:00
test_execution.py tests: Add run state testbench 2020-07-14 17:31:38 +01:00
test_plugin.py Update copyright headers. 2018-07-04 16:33:31 +01:00
test_runtime_param_utils.py Update copyright headers. 2018-07-04 16:33:31 +01:00
test_signal.py framework, tests: Correct signal disconnection 2020-07-14 17:31:38 +01:00
test_utils.py utils/types: fix toggle_set creation 2020-02-19 17:02:58 +00:00