History log of /openbmc/openbmc-test-automation/lib/func_timer.py (Results 1 – 12 of 12)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 20f38712 08-Dec-2022 Patrick Williams <patrick@stwcx.xyz>

black: re-format

black and isort are enabled in the openbmc-build-scripts on Python files
to have a consistent formatting. Re-run the formatter on the whole
repository.

Signed-off-by: Patrick Will

black: re-format

black and isort are enabled in the openbmc-build-scripts on Python files
to have a consistent formatting. Re-run the formatter on the whole
repository.

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I944f1915ece753f72a3fa654902d445a9749d0f9

show more ...


# e635ddc0 08-Dec-2022 George Keishing <gkeishin@in.ibm.com>

Revert "black: re-format"

This reverts commit 5731818de0ce446ceaafc7e75ae39da1b69942ae.

Signed-off-by: George Keishing <gkeishin@in.ibm.com>
Change-Id: Ie61cdc8c7f2825b0d9d66be87a6a3a058de2b372


# 5731818d 08-Dec-2022 Patrick Williams <patrick@stwcx.xyz>

black: re-format

black and isort are enabled in the openbmc-build-scripts on Python files
to have a consistent formatting. Re-run the formatter on the whole
repository.

Change-Id: If1010ead857d413

black: re-format

black and isort are enabled in the openbmc-build-scripts on Python files
to have a consistent formatting. Re-run the formatter on the whole
repository.

Change-Id: If1010ead857d41364c024bf8145a979a9377d382
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>

show more ...


Revision tags: robotframework-requests
# 6224635d 01-Aug-2022 George Keishing <gkeishin@in.ibm.com>

E275 missing whitespace after keyword

Changes:
- CI gerrit failed due to pycodestyle strict checking

Tested:
- CI gerrit should pass

Change-Id: I3bfcae57626fd484a9222da8532a413a0da6f610
S

E275 missing whitespace after keyword

Changes:
- CI gerrit failed due to pycodestyle strict checking

Tested:
- CI gerrit should pass

Change-Id: I3bfcae57626fd484a9222da8532a413a0da6f610
Signed-off-by: George Keishing <gkeishin@in.ibm.com>

show more ...


# e7e9171e 03-Sep-2021 George Keishing <gkeishin@in.ibm.com>

Update python code for python 3.8 or higher compatibility

Changes:
- Update shebang directive to use python3 explicitly.
- remove preexec_fn feature which is deprecated in

Update python code for python 3.8 or higher compatibility

Changes:
- Update shebang directive to use python3 explicitly.
- remove preexec_fn feature which is deprecated in higher
python version 3.8 and above.
- bufsize fix, from documentation bufsize 1 means line buffered
(only usable if universal_newlines=True i.e., in a text mode)
refer: https://docs.python.org/3/library/subprocess.html
- Fix SyntaxWarning: "is" with "=="

Change-Id: Ib96c1ba8c2327d6774d0d731b48ca7e61a4a297a
Signed-off-by: George Keishing <gkeishin@in.ibm.com>

show more ...


Revision tags: v2.10-Hardknott, v2.8.0-stable
# 410b1787 22-Oct-2019 Michael Walsh <micwalsh@us.ibm.com>

Change several python and robot files to 110 chars

Taking advantage of current team limit of 110 chars.

Change-Id: If7ab51fe894889967b8c8bb2f2fa4664f01117d5
Signed-off-by: Micha

Change several python and robot files to 110 chars

Taking advantage of current team limit of 110 chars.

Change-Id: If7ab51fe894889967b8c8bb2f2fa4664f01117d5
Signed-off-by: Michael Walsh <micwalsh@us.ibm.com>

show more ...


# ec01a6f6 01-Aug-2019 Michael Walsh <micwalsh@us.ibm.com>

Adjust to deprecated validation functions

- The "svalid" functions (e.g. svalid_value) have been deprecated. The
new method is to use the corresponding "valid" function (e.g.
va

Adjust to deprecated validation functions

- The "svalid" functions (e.g. svalid_value) have been deprecated. The
new method is to use the corresponding "valid" function (e.g.
valid_value).

- Also, valid_range now takes lower and upper args (vs. the old
"<lower>..<upper>" string).

Change-Id: Ib554b4991c8a2ef8925380003941e355aa5cadd6
Signed-off-by: Michael Walsh <micwalsh@us.ibm.com>

show more ...


Revision tags: v2.7-warrior-stable
# 0d5f96a4 20-May-2019 Michael Walsh <micwalsh@us.ibm.com>

Fix print_var calls: new fmt, indent, etc.

Changed print_var calls to correctly use new arguments:
- fmt
- indent
- col1_width

Change-Id: If80088d5b69865074fd510421b9

Fix print_var calls: new fmt, indent, etc.

Changed print_var calls to correctly use new arguments:
- fmt
- indent
- col1_width

Change-Id: If80088d5b69865074fd510421b918da7fd8e874e
Signed-off-by: Michael Walsh <micwalsh@us.ibm.com>

show more ...


# 89c0aaaa 18-Apr-2019 Michael Walsh <micwalsh@us.ibm.com>

func_timer cleanup TypeError

Added code to cleanup function in func_timer.py module to tolerate TypeError on
lprint_executing call.

This should help to eliminate errors such as

func_timer cleanup TypeError

Added code to cleanup function in func_timer.py module to tolerate TypeError on
lprint_executing call.

This should help to eliminate errors such as this:

Exception TypeError: "'NoneType' object is not callable" in <bound method
func_timer_class.__del__ of <func_timer.func_timer_class instance at
0x7f888c143560>> ignored

Change-Id: I5c13c72bdf6c344a19c12b2fd7459210c6a861e0
Signed-off-by: Michael Walsh <micwalsh@us.ibm.com>

show more ...


Revision tags: v2.6-thud-stable
# 36efbc04 12-Dec-2018 George Keishing <gkeishin@in.ibm.com>

Python 2.7x and 3.xx compatibility fixes

Change-Id: I84eb3bf7691fa867acadf9dae8c4f56a9781bf73
Signed-off-by: George Keishing <gkeishin@in.ibm.com>


# 4799e2a6 16-Nov-2018 Michael Walsh <micwalsh@us.ibm.com>

func_timer run: Convert "none" time-out to None

- As a convenience to the caller who may be passing along an
external parm value, added code to convert time_out value of "none" to

func_timer run: Convert "none" time-out to None

- As a convenience to the caller who may be passing along an
external parm value, added code to convert time_out value of "none" to
None.
- Added code to verify that time_out is non-negative.
- Removed useless test for len(kwargs).

Change-Id: I504e36fb78094fa22a2225423d859bf3111d7bb8
Signed-off-by: Michael Walsh <micwalsh@us.ibm.com>

show more ...


Revision tags: v2.2-stable
# 4da179cf 07-Aug-2018 Michael Walsh <micwalsh@us.ibm.com>

New func_timer class

This class will allow you to run any function with a time_out.

Change-Id: I3f42153d7d52ade7c1a488521588ee873e0758e5
Signed-off-by: Michael Walsh <micwalsh@u

New func_timer class

This class will allow you to run any function with a time_out.

Change-Id: I3f42153d7d52ade7c1a488521588ee873e0758e5
Signed-off-by: Michael Walsh <micwalsh@us.ibm.com>

show more ...