b3e88fb6 | 01-Oct-2021 |
Patrick Williams <patrick@stwcx.xyz> |
meson: update to 0.58.1
Yocto is currently set to 0.58.1, so set ours to match.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I6b81e04e7e7b04530fda987cbd05d109c34b02cc |
4569bf49 | 19-Apr-2021 |
Patrick Williams <patrick@stwcx.xyz> |
clang: update to clang-12
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I2f82a84ab6000bb4a3ea57803369b210b0a45dc3 |
1197e359 | 03-Aug-2021 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
scripts/build-unit-test-docker: mapper + meson
Patches to remove autotools support from the mapper are in progress. Switch to meson to prepare for that eventuality.
Change-Id: I21662fdd3f2f2af545c0
scripts/build-unit-test-docker: mapper + meson
Patches to remove autotools support from the mapper are in progress. Switch to meson to prepare for that eventuality.
Change-Id: I21662fdd3f2f2af545c0aeecd12a51e817ca97fb Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
show more ...
|
eb667265 | 06-Aug-2021 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
unit-test: don't find files in meson subprojects
Support running against source trees with populated meson subprojects.
Avoid running ci scripts and code formatters from subprojects since they are
unit-test: don't find files in meson subprojects
Support running against source trees with populated meson subprojects.
Avoid running ci scripts and code formatters from subprojects since they are not the repository under test.
Change-Id: I753915926b06fdebfbe77c3157432ff07077b742 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
show more ...
|
092ec34b | 04-Aug-2021 |
George Keishing <gkeishin@in.ibm.com> |
Install click CLI tool for automation
Refer: https://pypi.org/project/click/
This tool is being used by FFDC stand-alone.
Change-Id: I6e5e702bc88626232d38b7d5fe87d0fb00fdcb03 Signed-off-by: George
Install click CLI tool for automation
Refer: https://pypi.org/project/click/
This tool is being used by FFDC stand-alone.
Change-Id: I6e5e702bc88626232d38b7d5fe87d0fb00fdcb03 Signed-off-by: George Keishing <gkeishin@in.ibm.com>
show more ...
|
f84f7965 | 02-Aug-2021 |
Andrew Jeffery <andrew@aj.id.au> |
build-unit-test-docker: Update valijson to v0.4
v0.4 contains 66262bafb82c ("Include nlohmann/json.hpp instead of json.hpp") which resolves some subproject build issues with entity-manager.
Change-
build-unit-test-docker: Update valijson to v0.4
v0.4 contains 66262bafb82c ("Include nlohmann/json.hpp instead of json.hpp") which resolves some subproject build issues with entity-manager.
Change-Id: Ic1817abe0ac022b4cb1afed67aa6ac8a649519d0 Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
show more ...
|
34ec77e8 | 02-Jun-2021 |
Adrian Ambrożewicz <adrian.ambrozewicz@intel.com> |
Fix unit-test-docker proxy handling
This change introduces setting correct proxy setting for keyserver resolution during docker build.
Testing: - docker successfully builds and runs image behind co
Fix unit-test-docker proxy handling
This change introduces setting correct proxy setting for keyserver resolution during docker build.
Testing: - docker successfully builds and runs image behind corporate proxy
Change-Id: I15a2d09cc62f7405cc14a8e41c7863fee01548be Signed-off-by: Adrian Ambrożewicz <adrian.ambrozewicz@intel.com>
show more ...
|
dafe7529 | 28-May-2021 |
William A. Kennington III <wak@google.com> |
scripts/build-unit-test-docker: Add liburing
Upcoming changes to sensor reading and other projects will start using io_uring for asynchronous syscalls.
Change-Id: I22134ece563c6f843aafc01d86b2666cd
scripts/build-unit-test-docker: Add liburing
Upcoming changes to sensor reading and other projects will start using io_uring for asynchronous syscalls.
Change-Id: I22134ece563c6f843aafc01d86b2666cde949bab Signed-off-by: William A. Kennington III <wak@google.com>
show more ...
|
4dd32c02 | 28-May-2021 |
William A. Kennington III <wak@google.com> |
scripts/build-unit-test-docker: Update googletest to match poky
googletest doesn't regularly tag releases even though they are constantly making improvements. The source is now 2 years old and the y
scripts/build-unit-test-docker: Update googletest to match poky
googletest doesn't regularly tag releases even though they are constantly making improvements. The source is now 2 years old and the yocto poky build has moved on to this commit.
Change-Id: I867ead5f89fecc9c854626cd07fc8d1a6a9cc5af Signed-off-by: William A. Kennington III <wak@google.com>
show more ...
|
ffd6b733 | 28-May-2021 |
William A. Kennington III <wak@google.com> |
scripts/build-unit-test-docker: Update to boost 1.76.0
This is now used in openbmc/openbmc@master, so we should be using it in the CI too.
Change-Id: I0ba9e234c1ddbb7da9694fe3eafff462604a1f83 Signe
scripts/build-unit-test-docker: Update to boost 1.76.0
This is now used in openbmc/openbmc@master, so we should be using it in the CI too.
Change-Id: I0ba9e234c1ddbb7da9694fe3eafff462604a1f83 Signed-off-by: William A. Kennington III <wak@google.com>
show more ...
|
b84d59dc | 15-May-2021 |
William A. Kennington III <wak@google.com> |
scripts/build-unit-test-docker: Upgrade to gcc11
This is used by the latest poky change and we want to make sure our code is compatible prior to submission.
Change-Id: Ife93b2810bcfc6e50a89f06268b0
scripts/build-unit-test-docker: Upgrade to gcc11
This is used by the latest poky change and we want to make sure our code is compatible prior to submission.
Change-Id: Ife93b2810bcfc6e50a89f06268b082e6cf5426fd Signed-off-by: William A. Kennington III <wak@google.com>
show more ...
|
3992d10c | 17-May-2021 |
William A. Kennington III <wak@google.com> |
scripts/build-unit-test-docker: Update to meson 0.58.0
Change-Id: Id8e90ffa6d2bf94c4c821a5d79bde7a9e04d26c3 Signed-off-by: William A. Kennington III <wak@google.com> |
96b43455 | 15-May-2021 |
William A. Kennington III <wak@google.com> |
scripts/build-unit-test-docker: Package updates to match poky
Change-Id: I7d141331791b59bb0726501052152e177f86d9aa Signed-off-by: William A. Kennington III <wak@google.com> |
d080969b | 14-May-2021 |
Andrew Jeffery <andrew@aj.id.au> |
unit-test: Define TEST_ONLY=1 to skip the analyse phase
The autotools build system driver was doing something quite different to CMake and Meson. This makes it hard to document the behaviour of TEST
unit-test: Define TEST_ONLY=1 to skip the analyse phase
The autotools build system driver was doing something quite different to CMake and Meson. This makes it hard to document the behaviour of TEST_ONLY=1.
Give it the consistent behaviour of skipping the analyse() phase in the BuildSystem implementation.
Change-Id: I3a8986899cb96d274932263647e8a8b18fbeed49 Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
show more ...
|
7bb00b13 | 10-May-2021 |
Andrew Geissler <geissonator@yahoo.com> |
build-unit-test-docker: chown: be more specific
The chown step has shown to take a significant amount of time compared to other parts of the CI docker image build. Be a bit more granular with it as
build-unit-test-docker: chown: be more specific
The chown step has shown to take a significant amount of time compared to other parts of the CI docker image build. Be a bit more granular with it as the only real need was to ensure other repos could install generated files under /usr/local/share/
Tested: - Verified that I could run the script using different user id's on the same system against repos that install into /usr/local/share.
Change-Id: I61e43241604f48d66c4e8ab20cabea91eb064bbe Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
show more ...
|
5ef836e0 | 10-May-2021 |
Anusha Dathatri <adathatr@in.ibm.com> |
Ported get_unit_test_report.py to python3
Signed-off-by: Anusha Dathatri <adathatr@in.ibm.com> Change-Id: I7bece1b555335290fc85ae47fa607075a7c1f51e |
cd9578b2 | 04-May-2021 |
Andrew Geissler <geissonator@yahoo.com> |
ci-ppc64le: disable sanitizer test
The latest Ubuntu docker container on ppc64le has caused the sanitizer tests to start failing within the PLDM repository. Until we can figure this out, disable the
ci-ppc64le: disable sanitizer test
The latest Ubuntu docker container on ppc64le has caused the sanitizer tests to start failing within the PLDM repository. Until we can figure this out, disable these tests on ppc64le machines.
See openbmc/openbmc-build-scripts#31 for details
Tested: - Verified PLDM repo now passes CI on ppc64le machine
Change-Id: I0774dae7a78144cca7d183eb736ac816fd0d242b Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
show more ...
|
f79ce4c4 | 30-Apr-2021 |
Patrick Williams <patrick@stwcx.xyz> |
build-unit-test-docker: phosphor-logging: switch to meson
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I5d09f61a0151abd71609746fda92607369949484 |
73395159 | 30-Apr-2021 |
Patrick Williams <patrick@stwcx.xyz> |
build-unit-test-docker: update ubuntu to hirsute
The latest Ubuntu "Hirsute Hippo" was released on 2021-04-22. Switch our CI builds to use it.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Ch
build-unit-test-docker: update ubuntu to hirsute
The latest Ubuntu "Hirsute Hippo" was released on 2021-04-22. Switch our CI builds to use it.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: If41dfd2247f0513bc297c4789cb051f7f69cbec4
show more ...
|
3f8b5294 | 30-Apr-2021 |
Patrick Williams <patrick@stwcx.xyz> |
build-unit-test-docker: cereal: get upstream c++20 fixes
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Iaa03418fdad4405f2f102c283bfaafcdad10c042 |
481a5078 | 22-Apr-2021 |
Patrick Williams <patrick@stwcx.xyz> |
format-code: ignore subprojects for pycodestyle
Meson-based repositories may have code from elsewhere inside a 'subprojects' subdirectory, especially on a developer system. Tell `pycodestyle` to ign
format-code: ignore subprojects for pycodestyle
Meson-based repositories may have code from elsewhere inside a 'subprojects' subdirectory, especially on a developer system. Tell `pycodestyle` to ignore this subdirectory so there are not false positive code format failures due to upstream code repositories we do not have control over.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Ia6ce4ba355b14aae07b7e346afaac8667399cfc1
show more ...
|
13af98a7 | 21-Apr-2021 |
Patrick Williams <patrick@stwcx.xyz> |
unit-test: meson: update flags for phosphor-logging
Prep build scripts for phosphor-logging migration to meson by adding openpower phosphor-logging build options.
Signed-off-by: Patrick Williams <p
unit-test: meson: update flags for phosphor-logging
Prep build scripts for phosphor-logging migration to meson by adding openpower phosphor-logging build options.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I9252e465e7a171455ed95c3723d1ca13b561a5ae
show more ...
|
18661d8f | 27-Apr-2021 |
Manojkiran Eda <manojkiran.eda@gmail.com> |
Increase timeout for tests while running under valgrind
- The tests seems to take longer time while running under valgrind.
- Added '-t' argument for the meson tests which increases the tim
Increase timeout for tests while running under valgrind
- The tests seems to take longer time while running under valgrind.
- Added '-t' argument for the meson tests which increases the time out value by a mentioned multiplier value for each test while running under valgrind.
- Set the multiplier value to 10, so that we can wait for 300 seconds before we timeout for tests that runs under valgrind.
Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com> Change-Id: I29f3e40da388b732b37bdeb03155111de35bbce3
show more ...
|
95095f17 | 14-Apr-2021 |
Patrick Williams <patrick@stwcx.xyz> |
unit-test: meson: check meson version for C++20
If a package requests C++20 support, only Meson >=0.57 recognizes the 'cpp_std=c++20' option but doesn't warn about this. Add code in our test path t
unit-test: meson: check meson version for C++20
If a package requests C++20 support, only Meson >=0.57 recognizes the 'cpp_std=c++20' option but doesn't warn about this. Add code in our test path to ensure that if a package has requested C++20 it also requests Meson >=0.57. This helps prevent a cryptic message if someone compiles one of our packages on a distro with an older version of Meson.
Tested: Ran script against sdbusplus with various settings of meson_version and cpp_std.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I130766a822710bf634eca3677e22c9d484defa00
show more ...
|
e95626d7 | 13-Apr-2021 |
Patrick Williams <patrick@stwcx.xyz> |
unit-test: handle meson 0.57 optinterpreter
Starting with meson 0.57, the option intepreter code no longer holds the options as a simple string -> option map, but instead has a new type called an "O
unit-test: handle meson 0.57 optinterpreter
Starting with meson 0.57, the option intepreter code no longer holds the options as a simple string -> option map, but instead has a new type called an "OptionKey" which acts as the key and has no simple conversion from string. See this commit in meson:
$ git tag --contains=23d3b98fc1 0.57.0 ...
Update the unit-test script, which utilizes the Meson optinterpreter, to use this new OptionKey as the key to the option map lookups.
It appears that they are enhancing the option parser so that you can get options from subprojects, different languages, and different build targets. We do not utilize this functionality so the defaults for an OptionKey are what we want.
Tested: Ran the unit-test infrastructure against phosphor-power and confirmed that "-Dtests=enabled" was passed to meson.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I285bb396a2761f69dec4a7317b6da8761ea1bea8
show more ...
|