Commit Graph

45 Commits

Author SHA1 Message Date
Leonardo Fagundes Luz Serrano 5e19b07ebb tox: fixed warnings
meta_data files:
- "too few spaces before comment" warning
- missing document start "---" warning

tox.ini:
- allowlist bash for testenv
- moved 'basepython' var to testenv as it was repeated
  in all derived envs
- removed "tox < 4" requirement. changed minversion to 4

pylint:
- renamed pylintrc to the standard convention ".pylintrc"
- Removed "enable" section, as all warnings are enabled by default
- Updated "disable" section as some warnings changed names
- files-output deprecated [1]
- bad-functions requires a plugin [2, 3]
- max-branchs ==> max-branches [4]
- overgeneral-exceptions updated

[1] https://pylint.pycqa.org/en/latest/whatsnew/1/1.7/summary.html#removed-changes
[2] https://pylint.pycqa.org/en/latest/user_guide/configuration/all-options.html#bad-functions
[3] https://pylint.pycqa.org/en/latest/user_guide/messages/warning/bad-builtin.html
[4] https://pylint.readthedocs.io/en/latest/user_guide/messages/refactor/too-many-branches.html

Test Plan:
pass: run tox

Partial-Bug: 1976377

Change-Id: I715ed859e046a90cc7ec5d047d42902a51009eb8
Signed-off-by: Leonardo Fagundes Luz Serrano <Leonardo.FagundesLuzSerrano@windriver.com>
2023-09-06 17:54:55 -03:00
Al Bailey 8d5c5bd6ce Fix zuul failures for setuptools and pbr
A New version of setuptools was released July 14 2023
which does not work with the pbr version for this branch.

The fix is based on
https://review.opendev.org/c/openstack/ceilometer/+/888711

The 'requires' tag in tox was added in 3.2
setuptools is capped in tox.ini
tox is also capped.

Signed-off-by: Al Bailey <al.bailey@windriver.com>
Change-Id: I737885d2e6e2242e8fcb121e87611fd86d43a9db
2023-07-17 19:17:08 +00:00
Al Bailey 62cff73857 Update tox.ini to work with tox 4
This change will allow this repo to pass zuul now
that this has merged:
https://review.opendev.org/c/zuul/zuul-jobs/+/866943

Tox 4 deprecated whitelist_externals.
Replace whitelist_externals with allowlist_externals

Partial-Bug: #2000399

Signed-off-by: Al Bailey <al.bailey@windriver.com>
Change-Id: Iceb323a8b7a4b6ec8af81cd1b07c8b98d1e4b3f2
2022-12-23 15:56:16 +00:00
Joshua Kraitberg bcf17e661e Remove Legacy-resolver and changed constraints
Legacy-resolver will have its support dropped in the future.

Also, legacy-resolver was masking a dependency conflict that
required the constraints files be updated.  To use the
updated constraints file, the stx-integ-pylint job had to be
updated.  This update matches what is done in other repos,
eg. https://github.com/starlingx/update/blob/master/.zuul.yaml#L108.

Test Plan:
Execute: tox

Closes-Bug: 1964372

Signed-off-by: Joshua Kraitberg <joshua.kraitberg@windriver.com>
Change-Id: I6b71f0cd3d9315f957d6a6a15bf0a22e2a692185
2022-08-22 15:04:43 +00:00
albailey 6420975496 Updating the pylint tox target to reflect its targets
pylint is currently only running on storage_topology
however it was using generic dependencies and installing
and suppressing far more than it needed to.

This will get pylint to pass zuul as well, since some
of the un-needed dependencies are failing to install.

Story: 2008943
Task: 43850
Signed-off-by: albailey <Al.Bailey@windriver.com>
Change-Id: I250754ca8f4f904a902f6cfd6597fde54d1597a9
2021-11-04 10:22:24 -05:00
M. Vefa Bicakci 7e10236038 Update kexec-tools/makedumpfile to support v5.10 kernel
This patch updates kexec-tools from 2.0.15 to 2.0.21 (and its supporting
software package makedumpfile from 1.6.2 to 1.6.9) for compatibility
with the newer v5.10 kernel.

This commit clones the kexec-tools package's supporting files from
commit 26a7a543427eac59ed39728466f3d95d320f735a in the CentOS RPM
packaging git repository. Links for reference:

- 26a7a54342?branch=c7
- 26a7a54342

Please note that this patch causes the build system to pull in and
extract an SRPM file to acquire:
  kdump-anaconda-addon-003-29-g4c517c5.tar.gz

This is done for security, because the only public reference to commit
4c517c5 is on a Red Hat developer's personal Github account:
  https://github.com/ryncsn/kdump-anaconda-addon/commits/rhel-7

kexec-tools package's supporting files cloned by this commit trigger a
large number of shell script linting errors. Given that the shell
scripts in question are inherited from upstream (i.e., CentOS 7), the
"files" directory of this package is excluded from automated linting via
the changes in tox.ini.

Verification: A kexec-tools RPM package built with this commit was
installed onto an existing StarlingX system. A vmcore file was
succesfully collected from a kernel crash triggered with
/proc/sysrq-trigger. A recent version of the crash utility was found to
succesfully parse the collected vmcore file.

Credits: Thanks to Jiping Ma for helping with cleaning up and publishing
an earlier version of this patch.

Story: 2008921
Task: 43040

Depends-On: https://review.opendev.org/c/starlingx/tools/+/805127

Signed-off-by: Jiping Ma <jiping.ma2@windriver.com>
Signed-off-by: M. Vefa Bicakci <vefa.bicakci@windriver.com>
Change-Id: Idc4e523610e4c09259300c8b67ea5e0fbe59c611
2021-10-19 14:29:42 -04:00
Charles Short 6d10ee39a6 Fix unit tests
Due to a recent change in fm-api's directory structure, unit tests would
fail since the virtualenv would not be able to find fm-api/setup.py.
Adjust the tox.ini to point to the correct directory. Tested locally
by running tox.ini.

Depends-On: https://review.opendev.org/c/starlingx/fault/+/806046

Story: 2009101
Task: 43091

Signed-off-by: Charles Short <charles.short@windriver.com>
Change-Id: I6e09735bca06a5c9f0868b58ae7de344299ef570
2021-09-28 14:20:49 -04:00
Bernardo Decco 3264055bfe Add pylint py3 portability checks for the integ repo
A lot of work has gone into making sure that StarlingX is python3
compatible. To ensure future compatibility, enable the python3
portability checks. Disable the checks that are raising errors.
Another set of commits will address the offending code.

Story: 2006796
Task: 43273
Signed-off-by: Bernardo Decco <bernardo.deccodesiqueira@windriver.com>
Change-Id: Ic4b51f71f1680b78b70e05785aca15150e7e5b2a
2021-09-13 09:57:53 +00:00
Chris Friesen 859e8eb730 add isolcpus device plugin for kubernetes
In order to minimize latency as much as possible, we want to allow
kubernetes containers to make use of CPUs which have been specified
as "isolated" via the kernel boot args.

This commit creates an isolcpus device plugin, which detects the isolated
CPUs and exports them to kubelet via the device plugin API.

See kubernetes/plugins/isolcpus-device-plugin/files/README.md for
more information on the behaviour and design choices for this commit.

When we move to a newer version of the Intel device plugin manager we
may be able to simplify some of this.  See the above README.md file
for details.

Change-Id: I3bfe04ab6e7fbafefa63f6dc43cb2ed79a52579f
Story: 2008760
Task: 42165
Signed-off-by: Chris Friesen <chris.friesen@windriver.com>
2021-04-01 11:10:09 -06:00
Don Penney c13cf2a27d Enable legacy resolver for pip until requirements are updated
pylint zuul jobs are failing due to incompatible dependencies that
cause the new version of pip to abort.

Enabling the legacy resolver (for now) so zuul can pass, while we
fix all the requirements across the different repos.

Change-Id: I8837e1372f1901afe4e9acbfca3132b0674a876f
Related-Bug: 1907125
Co-Authored-By: albailey <Al.Bailey@windriver.com>
Signed-off-by: Don Penney <don.penney@windriver.com>
2020-12-11 11:13:56 -05:00
Steven Webster f779502f5a Use newer flake8 to run on ubuntu-focal Zuul machines
flake8 3.6.0  fails on ubuntu-focal zuul machines running python3.8
with the following error:
AttributeError: 'FlakesChecker' object has no attribute 'CONSTANT'

The update removes the version constraint to use newer flake8.  This
also ignores new warnings/errors, which should be addressed in a
future update to remove the ignores

Change-Id: Id22fb14e2cce76c2f4f5234abb3be4db68c70555
Partial-Bug: 1895054
Signed-off-by: Steven Webster <steven.webster@windriver.com>
2020-09-22 16:21:30 -04:00
Al Bailey 7b7959e9b5 Update pylint target for python3 and upper constraints
This change imposes the upper constraint in tox to protect from
future releases causing random breakage.

Ex: A new version of python-libvirt was released Jan 23 2020
which will not install on python2.

This change also enables the python3 target for pylint which will
allow the upper constraint to be changed to a more recent version
when all the tox files are aligned.

Change-Id: I9056778085d32b3401df60c20d67cff0a21dfe97
Story: 2004515
Task: 38496
Signed-off-by: Al Bailey <Al.Bailey@windriver.com>
2020-01-28 08:39:12 -06:00
Scott Little 3637d66ae4 Relocated some packages to repo 'monitoring'
List of relocated subdirectories:

monitoring/collectd-extensions
monitoring/influxdb-extensions
tools/monitor-tools
tools/vm-topology

Story: 2006166
Task: 35687
Depends-On: I6c62895f8dda5b8dc4ff56680c73c49f3f3d7935
Depends-On: I665dc7fabbfffc798ad57843eb74dca16e7647a3
Change-Id: Iffacd50340005320540cd9ba1495cde0b2231cd0
Signed-off-by: Scott Little <scott.little@windriver.com>
Depends-On: I14e631137ff5658a54d62ad3d7aa2cd0ffaba6e0
2019-09-05 20:31:52 -04:00
Scott Little 062ec89dbb Relocated some packages to repo 'utilities'
List of relocated subdirectories:

ceph/ceph-manager
ceph/python-cephclient
filesystem/nfscheck
logging/logmgmt
security/tpm2-openssl-engine
security/wrs-ssl
tools/collector
tools/engtools/hostdata-collectors
utilities/build-info
utilities/namespace-utils
utilities/pci-irq-affinity-agent
utilities/platform-util
utilities/tis-extensions
utilities/update-motd

Story: 2006166
Task: 35687
Depends-On: I665dc7fabbfffc798ad57843eb74dca16e7647a3
Change-Id: I2bf543a235507a4eff644a7feabd646a99d1474f
Signed-off-by: Scott Little <scott.little@windriver.com>
Depends-On: I85dda6d09028f57c1fb0f96e4bcd73ab9b9550be
Signed-off-by: Scott Little <scott.little@windriver.com>
2019-09-05 20:31:36 -04:00
Scott Little 39d02246ae Config file changes to remove packages being relocated to repo
'containers'

List of relocated subdirectories:

kubernetes/registry-token-server

Story: 2006166
Task: 35687
Depends-On: I665dc7fabbfffc798ad57843eb74dca16e7647a3
Depends-On: Ibdae0a338a1af493ac522757b61bbd6df1da941e
Change-Id: I7f1c1184e8dfeff1740b695adb71b8becaa4e7b1
Signed-off-by: Scott Little <scott.little@windriver.com>
2019-09-05 23:17:17 +00:00
Al Bailey bea9f54079 Fix pylint zuul jobs failing due to libvirt-python and pkgconfig
The new version of libvirt-python was released on July 3rd
and may be triggering an issue when installing for pylint jobs.

The fix is to add bindep target for the pkgconfig
and libvirt-devel components.

Change-Id: Ib2c0a953bf8be127aa8d6ce4bd74d7f2f5ceccae
Closes-Bug: #1835457
Signed-off-by: Al Bailey <Al.Bailey@windriver.com>
2019-07-04 14:14:39 -05:00
Eric Barrett 37aced703d Enable Non-Occurring Flake8 Errors
Flake8 currently ignores the following errors:
B301: Python3 does not include ".iter*" methods on dictionaries
H237: Module is removed in python3
W191: Indentation contains tabs
Which do not appear currently in the repo. Enable them
so that they do not get introduced

Change-Id: I0321ee40f869c03321a1cbd67c45056206437f6b
Story: 2004515
Task: 30076
Signed-off-by: Eric Barrett <eric.barrett@windriver.com>
2019-06-03 11:32:06 -04:00
Al Bailey 160e116555 Fix pylint failures due to keyring
The pylint tox setup failures are because keyring 19.x does not
work with python2.7.
This is now imposed in the tox.ini file.

Closes-Bug: 1828241
Change-Id: Ib6219a508ef843358b46b2f49c4da28d1a8bbec8
Signed-off-by: Al Bailey <Al.Bailey@windriver.com>
2019-05-08 10:29:34 -05:00
Zuul 9dd08ab5b8 Merge "Enable Flake8 Docstring Errors" 2019-04-22 17:39:28 +00:00
Dean Troyer 4a0dc9e70e Followup opendev cleanup and test jobs
Depends-On: https://review.opendev.org/#/c/653964/
Change-Id: Icdd50ca6f1d4b982ca260ea43aafe95ea1e7d117
Signed-off-by: Dean Troyer <dtroyer@gmail.com>
2019-04-21 09:23:19 -05:00
Eric Barrett cb0b2ffe1e Enable Flake8 Docstring Errors
Flake8 currently ignores the following errors:
H401: docstring should not start with a space
H404: multi line docstring should start without a leading new line
H405: multi line docstring summary not separated with an empty line
Enable them for more consistent formatting of docstrings

Change-Id: I385e28e9c6eca3c02a3def51ff64b00b7a63a853
Story: 2004515
Task: 30076
Signed-off-by: Eric Barrett <eric.barrett@windriver.com>
2019-04-18 11:50:45 -04:00
Eric Barrett 27133180fe Enable Flake8 300 Series Errors
Flake8 currently ignores the following errors:
E302: expected 2 blank lines[COMMA] found 1
E303: too many blank lines
E305: expected 2 blank lines after class or function definition, found 1

Change-Id: Idfb00e530967f1a345bc2e263ad77597f83cc5d3
Story: 2004515
Task: 30076
Signed-off-by: Eric Barrett <eric.barrett@windriver.com>
2019-04-03 10:40:01 -04:00
Eric Barrett 7bf3a477f3 Enable Flake8 E12X Errors
Flake8 currently ignores the following Errors:
E121: continuation line under-indented for hanging indent
E123: closing bracket doesn't match indentation of opening bracket
E124: closing bracket doesn't match visual indentation
E125: continuation line with same indent as next logical line
E126: continuation line over-indented for hanging indent
E127: continuation line over-indented for visual indent
E128: continuation line under-indented for visual indent
Enable them for more consistent formatting of code

Change-Id: I415d4824a1f335ba3fceb488b0ae60b9861a036a
Story: 2004515
Task: 30076
Signed-off-by: Eric Barrett <eric.barrett@windriver.com>
2019-04-02 15:11:16 -04:00
Zuul 98f2ff7bf4 Merge "Enable Flake8 Ambiguous Variable Name Error" 2019-03-29 20:06:04 +00:00
Al Bailey 32d7999e90 Lock bugbear version to prevent zuul failures
A new bugbear was released which broke zuul.
This commit locks bugbear at that release and
suppresses those two new error types.

Later commits may clean those up, however
it is more likely bugbear will be removed and
a different flake8 and hacking will be used.

Story: 2004515
Task: 30260
Change-Id: I213163b3043b439daccd1f9c9d6db846e1248dae
Signed-off-by: Al Bailey <Al.Bailey@windriver.com>
2019-03-29 09:02:19 -05:00
Eric Barrett cca0675a03 Enable Flake8 Ambiguous Variable Name Error
Flake8 currently ignores ambiguous variable name error (E741)
Enable it for more thorough testing of code

Change-Id: I752b4a2a380ee086882260981c448bd7217de003
Story: 2004515
Task: 30076
Signed-off-by: Eric Barrett <eric.barrett@windriver.com>
2019-03-27 16:50:26 -04:00
Eric Barrett 11cc2a21bb Enable Flake8 Whitespace Errors
Flake8 currently ignores a number of whitespace related errors:
E201: whitespace after '['
E202: whitespace before '}'
E203: whitespace before ':'
E211: whitespace before '('
E221: multiple spaces before operator
E222: multiple spaces after operator
E225: missing whitespace around operator
E226: missing whitespace around arithmetic operator
E231: missing whitespace after ','
E251: unexpected spaces around keyword / parameter equals
E261: at least two spaces before inline comment
Enable them for more thorough testing of code

Change-Id: Id03f36070b8f16694a12f4d36858680b6e00d530
Story: 2004515
Task: 30076
Signed-off-by: Eric Barrett <eric.barrett@windriver.com>
2019-03-26 15:02:53 -04:00
Eric Barrett 2d0b003e8c Enable Var Assigned to but Unused Flake8 Error
Flake8 currently ignores local variable assigned to but unused error (F841)
Enable F841 for more thorough testing of code

Change-Id: I5a9002dde77773d5e96531e2d4fee3c55264e0fd
Story: 2004515
Task: 30076
Signed-off-by: Eric Barrett <eric.barrett@windriver.com>
2019-03-22 09:30:52 -04:00
Eric Barrett c16a89581c Enable Exception.message Deprecated/Removed Error
Flake8 currently ignores 'BaseException.message' removed in python3
Enable B306 for more thorough testing of code

Change-Id: I9fbb01e8f61d679f4e611324efca6017c3b210e8
Story: 2004515
Task: 30076
Signed-off-by: Eric Barrett <eric.barrett@windriver.com>
2019-03-21 14:51:36 -04:00
Eric Barrett 360ad25564 Enable Comparison to None should use 'is' Error
Flake8 currently ignores comparison to None should be 'if cond is None'
Enable E711 for more thorough testing of code

Change-Id: I608cceff2eeb87c116bccddac26e3c869e5d57df
Story: 2004515
Task: 30076
Signed-off-by: Eric Barrett <eric.barrett@windriver.com>
2019-03-21 10:00:18 -04:00
Eric Barrett 936ca3d5ec Enable Python3 Incompatible Print Flake8 Error
Flake8 currently ignores python3.x incompatible use of print operator
Enable H233 for more thorough testing of code

Change-Id: I77d6bdb4f792a832f04bbf8bd73a9ae3532633ff
Story: 2004515
Task: 30076
Signed-off-by: Eric Barrett <eric.barrett@windriver.com>
2019-03-20 15:28:03 -04:00
Eric Barrett c408ce506e Enable Syntax flake8 Error
Flake8 currently ignores syntax errors
Change python2 style print statements to python3 compatible style
Change in print statements results in new errors discovered by flake8
Fix B006: Do not use mutable data structures for argument defaults error
Fix F821: undefined name 'hashlib' error
Enable syntax errors (E999) for more thorough testing of code

Change-Id: Id8849e4e117ddd1fd50309415466b593d13e7456
Story: 2004515
Task: 30076
Signed-off-by: Eric Barrett <eric.barrett@windriver.com>
2019-03-20 10:19:11 -04:00
Eric Barrett 8d42ceeecb Enable Mixed Spaces and Tabs flake8 Error
Flake8 currently ignores indentation that contains mixed spaces and tabs
Enable it for more thorough testing of code

Story: 2004515
Task: 30076
Change-Id: I268f1c5695bf913daee7497191e6f9546d51e6a0
Signed-off-by: Eric Barrett <eric.barrett@windriver.com>
2019-03-19 09:56:17 -04:00
Al Bailey 7fbddc4096 Adding a pylint tox and zuul job for stx-integ
The failing pylint warnings and errors are currently
suppressed.  They will be fixed by subsequent commits.

Story: 2004515
Task: 28791
Change-Id: I93a89554bf2dfbd9d1cbd96728a7663c408a79b1
Signed-off-by: Al Bailey <Al.Bailey@windriver.com>
2019-01-08 11:14:46 -06:00
Sun Austin 79c3a1b255 Fix: "import" issue for Python 2/3 compatible code
use proper absolute path to import modules

remove ignore case 'H301: one import per line'

Story: 2002909
Task:  24886

Change-Id: I1d72e68ead64492ff0c74f8c1bf1b460b573bc1e
Signed-off-by: Sun Austin <austin.sun@intel.com>
2018-12-26 09:19:59 +08:00
Zuul ed45cf8e51 Merge "Add DevStack plugin" 2018-11-08 18:20:02 +00:00
Dean Troyer ed5026d6c9 Add DevStack plugin
At this point this only installs platform_utils

Depends-On: https://review.openstack.org/613973
Change-Id: I5cfb89592b25d60adf717e97c1859af989c08d2f
Signed-off-by: Dean Troyer <dtroyer@gmail.com>
2018-11-01 23:59:31 -05:00
Al Bailey 4a248bfafd Bashate was not detecting E004 in all cases
Bashate was not always detecting:
  E004 File did not end with a newline
unless the last file processed by bashate had the violation.

This meant that zuul jobs would randomly fail.
The fix is run individually (-n 1)

Change-Id: I7934c3da82adb450fd1ba5f2630591369df8b828
Closes-Bug: 1800865
Signed-off-by: Al Bailey <Al.Bailey@windriver.com>
2018-10-31 10:19:15 -05:00
Bart Wensley be9c43ecf4 Lock down flake8 version
The new flake8 version 3.6.0 introduces new warnings that cause
the check and gate jobs to fail. Locking down the flake8 version
to avoid these surprises in the future. We can later increment
the flake8 version and fix the new warnings in a controlled
manner.

Change-Id: Ie3fe4ccbb3acde158482f3207bbae655f32ae3d0
Partial-Bug: 1799721
Signed-off-by: Bart Wensley <barton.wensley@windriver.com>
2018-10-24 10:07:45 -05:00
98k 3ba4baf316 fix tox python3 overrides
We want to default to running all tox environments under python 3, so
set the basepython value in each environment.

We do not want to specify a minor version number, because we do not
want to have to update the file every time we upgrade python.

We do not want to set the override once in testenv, because that
breaks the more specific versions used in default environments like
py35 and py36.

Change-Id: Ibc8914bb48e793cbe053792bfef8b9c53758112b
2018-10-05 10:51:08 +00:00
Al Bailey 0844ed02bb Turn on pep8 as a voting job for stx-integ
- Convert from pep8 to flake8.
- Add in hacking and bugbear plugins to flake8
- Suppress any flake8 errors that fail.

Future tasks will be created to cleanup and
fix the suppressed error codes.

Story: 2002803
Task: 26884
Change-Id: I8bf0978f27be1cc1108d21a002e650c5072b4c67
Signed-off-by: Al Bailey <Al.Bailey@windriver.com>
2018-10-03 15:50:42 -05:00
Abraham Arce d59fe6623c [Doc] Release Notes Management
Baseline changes to comply with Release Notes Management
based in Reno [0]:

* Use build-openstack-releasenotes job for release notes
  (We can't use the OpenStack releasenotes template as it includes
  publish jobs, stx needs its own)
* Add newnote tox environment as convenience for creating new release
  notes, re-using the releasenotes venv.

[0] https://docs.openstack.org/reno/latest/

Story: 2003101
Task: 26719

Change-Id: If4f8833fb4d3539ba47ce3014d4d3bbae409c278
Signed-off-by: Abraham Arce <abraham.arce.moreno@intel.com>
2018-09-25 05:43:29 -05:00
Abraham Arce f00b501641 [Doc] Building docs following Docs Contrib Guide
Baseline changes to comply with OpenStack Documentation
Contributor Guide [0] starting with the following sections:

- Project guide setup
  - [1] sphinx-quickstart
  - [2] doc/source/ layout
- Building documentation
  - [3] tox -e docs
- Using documentation tools
  - [4] openstackdocstheme
- Use build-openstack-docs-pti job template for docs

[0] https://docs.openstack.org/doc-contrib-guide
[1] http://www.sphinx-doc.org/en/master/usage/quickstart.html
[2] https://docs.openstack.org/doc-contrib-guide/project-guides.html
[3] https://docs.openstack.org/doc-contrib-guide/docs-builds.html
[4] https://docs.openstack.org/openstackdocstheme/

Story: 2002708
Task: 26718

Story: 2002813
Task: 24450

Change-Id: Id66fed45d16cdcad13988cd04f9c783398bfa781
Signed-off-by: Abraham Arce <abraham.arce.moreno@intel.com>
2018-09-25 04:30:20 -05:00
Martin Chen dba551a518 Fix linters error and enable linters zuul gate
Fix below linters errors
E010 The "do" should be on same line as for
E010 The "do" should be on same line as while
E011 Then keyword is not on same line as if or elif keyword
E020 Function declaration not in format ^function name {$

Ignore:
E041 Arithmetic expansion using $[ is deprecated for $((
E042 local declaration hides errors
E043 Arithmetic compound has inconsistent return semantics
E044 Use [[ for non-POSIX comparisions

Story: 2003366
Task: 24423

Change-Id: I8b6b72e702d3e89d1813772d6bf16819e28e818c
Signed-off-by: Martin Chen <haochuan.z.chen@intel.com>
2018-09-07 01:50:28 +08:00
Dean Troyer 16506a09de Add default test framework
Change-Id: I9f6d73ad4dbf6a2decc62284a52f4f669ba94036
Signed-off-by: Dean Troyer <dtroyer@gmail.com>
2018-06-11 13:45:22 -05:00