Inherit sourceforge-releases class to check the correct latest stable
verison.
Before the patch:
$ devtool latest-version cunit
INFO: Current version: 2.1-3
INFO: Latest version:
After the patch:
$ devtool latest-version cunit
INFO: Current version: 2.1-3
INFO: Latest version: 2.1-3
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Added
========
- use the syntax parser directive to declare the Dockerfile syntax version
- Negative test filtering via --negative-filter - tests matching the filter are excluded
- fail-fast flag --abort to stop test suite execution on first failure
Fixed:
========
- unset output, stderr, lines, stderr_lines at the start of run to avoid crosstalk
- between successive invocations
- junit:
XML escape fully removes ANSI sequences, e.g. color codes, cursor movements
fix retried tests being listed multiple times
fix crash when setup_suite fails
- remove deprecated windows runner
- renamed docker-compose.yml to compose.yaml
- bats_test_function: don't require --tags to be sorted
- fix BATS_TEST_TIMEOUT
- not stopping processes under run
- prolonging skipped tests
Documentation:
===============
- moved 3rd-party libraries list into wiki
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Remove patches that have been integrated upstream:
- Serial setup handling respecting user intent
- POSIX-compliant termios baud rate configuration
- Type safety and error handling improvements
$ git --no-pager log --oneline 1a81f3c7be08..e3461097252e
e3461097252e Merge pull request #61 from MaxKrummenacher/master
988deaad893b Merge pull request #69 from ivitro/fix/termios-use-cfset-speed
03aae5517cda Merge pull request #68 from ivitro/fix-serial-setup-handling
e124c19e97e9 Fix -Wstringop-overflow warning in process_write_data
363f569a531f Use cfsetispeed/cfsetospeed for baud configuration
9012c3366433 Fix serial setup handling to respect user intent
8a8aba302529 linux-serial-test.c: fix potential hang in while loop
8a5709984363 linux-serial-test.c: fix returned error code
Signed-off-by: Vitor Soares <vitor.soares@toradex.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Add patch that restores user intent in serial setup handling. Upstream
commit 77320571e63c ignores user input when RS485 was pre-configured,
breaking loopback and flow-control tests.
This patch ensures RS485 can be explicitly controlled while still
respecting pre-existing configurations when appropriate.
Signed-off-by: Vitor Soares <vitor.soares@toradex.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
After commit 392f0f0ea76d ("linux-serial-test: Bump SRCREV to allow CMake 4+ compatibility"),
an infinite while loop can occur even when the timeout has been reached.
This patch fixes that regression.
Signed-off-by: Emanuele Ghidoli <emanuele.ghidoli@toradex.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
After commit 392f0f0ea76d ("linux-serial-test: Bump SRCREV to allow CMake 4+ compatibility"),
the behavior of linux-serial-test changed: it now returns 125 instead of 0
when the number of read characters differs from the written ones.
This patch fixes that regression.
Signed-off-by: Emanuele Ghidoli <emanuele.ghidoli@toradex.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
find, the way it is used will also list c files in
special directories like .pc, which is created by quilt
for managing patches and is the default PATCHTOOL
Ignore this directory during find operation.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Ryan Eatmon <reatmon@ti.com>
Changelog:
v49: https://github.com/rollbear/trompeloeil/releases/tag/v49
Highlights:
- Added mocking macros that infers function arity from a trailing return
type syntax signature.
- Added .RT_TIMES() to exceptations, which works like .TIMES()
but where the limits are only known at runtime.
- Added several new composable matchers.
- When an expectation is constrained by several .WITH() clauses, a
violation report will only include the first failed condition,
short cirquiting the logic.
v48: https://github.com/rollbear/trompeloeil/releases/tag/v48
Highlights:
- Fixed memory leak when adding an action (.RETURN, .SIDE_EFFECT, etc)
throws.
- Dropped older compilers from CI builds (gcc <= 6 and clang <= 7) since
GitHub actions now require node-20, and no build environment is
currently available that both supports node-20 and older compilers.
- Support for STDMETHOD functions for COM.
- Fixed issue with std::expected causing compilation error.
- Silenced gcc -Weffc++ warnings.
Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Apparently the git repo in the SRC_URI stopped supporting git
protocol. Switch to https to be able to fetch the source successfully.
Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
- All patches have been upstreamed
- Add Go module dependencies to allow offline builds since upstream does
not vendor them into the repo anymore
- In accordance to upstream, disable cgo as we are unable to compile
with it on all supported architectures; in addition, remove
-linkshared and -buildmode=pie as it requires external (cgo) linking
(the latter only on ARM and x86). Binary size hardly matters here as
syzkaller is unlikely to be shipped in a production environment.
- Add missing metadata and comply with style guide
- Mark musl as incompatible as it does not provide the Memory Protection
Keys API; in addition, there seems to be no intention from upstream to
support anything besides glibc
Signed-off-by: Stefan Wiehler <me@sephalon.net>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The maintainers of cpputest haven't created a release for over
5 years, however the application is still under very active development.
The maintainers claim that every commit that goes through their CI
is stable just like a tagged release[1] - so update to the latest revision.
Also, update the cmake options, and remove the obsolete ones.
Drop the patches as well, as they are included in this revision.
[1]: https://github.com/cpputest/cpputest/issues/1651
Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Since commit de3c8d3ff2d0 ("cli11: Upgrade 2.3.2 -> 2.5.0 to allow CMake
4+ compatibility"), cli11 depends on catch2 and is native&nativesdk. So,
catch2 also need to be native&nativesdk.
Fixes these warnings from AB[0]:
WARNING: Nothing PROVIDES 'nativesdk-catch2' (but virtual:nativesdk:[...]/meta-openembedded/meta-oe/recipes-support/cli11/cli11_2.5.0.bb DEPENDS on or otherwise requires it). Close matches:
WARNING: Nothing PROVIDES 'catch2-native' (but virtual:native:[...]/meta-openembedded/meta-oe/recipes-support/cli11/cli11_2.5.0.bb DEPENDS on or otherwise requires it). Close matches:
[0]: https://autobuilder.yoctoproject.org/valkyrie/#/builders/82/builds/377/steps/12/logs/warnings
Cc: Alper Ak <alperyasinak1@gmail.com>
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Fix:
| CMake Error at CMakeLists.txt:4 (cmake_minimum_required):
| Compatibility with CMake < 3.5 has been removed from CMake.
|
| Update the VERSION argument <min> value. Or, use the <min>...<max> syntax
| to tell CMake that the project requires at least <min> but has been updated
| to work with policies introduced by <max> or earlier.
|
| Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.
|
|
| -- Configuring incomplete, errors occurred!
Signed-off-by: Alper Ak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
There hasn't been a new upstream release yet that ships the required changes.
Signed-off-by: Moritz Haase <Moritz.Haase@bmw.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Please see
https://git.yoctoproject.org/poky/commit/?id=4dd321f8b83afecd962393101b2a6861275b5265
for what changes are needed, and sed commands that can be used to make them en masse.
I've verified that bitbake -c patch world works with these, but did not run a world
build; the majority of recipes shouldn't need further fixups, but if there are
some that still fall out, they can be fixed in followups.
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- bats::on_failure hook that gets called when a test or setup* function fails
- increase compatibility with Solaris
- fix noclobber breaking bats-gather-tests
- fix exiting with 0 despite bats:focus when all tests have been filtered out
- remove deprecated ubuntu 20.04 from CI config
- Fix hyperlink to external Bash resource
- Remove mentions to no longer existing find_library_load_path in
- lib/bats-core docstrings
- Add missing "status" word in --returned-status documentation
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
* fix following error:
http://errors.yoctoproject.org/Errors/Details/850314
utils/uevent_reader.c: In function 'main':
utils/uevent_reader.c:33:24: error: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types]
33 | signal(SIGINT, exit_handler);
| ^~~~~~~~~~~~
| |
| void (*)(void)
In file included from utils/uevent_reader.c:4:
TOPDIR/tmp/work/core2-64-oe-linux/pm-qa/0.5.2/recipe-sysroot/usr/include/signal.h:88:57: note: expected '__sighandler_t' {aka 'void (*)(int)'} but argument is of type 'void (*)(void)'
88 | extern __sighandler_t signal (int __sig, __sighandler_t __handler)
| ~~~~~~~~~~~~~~~^~~~~~~~~
utils/uevent_reader.c:15:6: note: 'exit_handler' declared here
15 | void exit_handler()
| ^~~~~~~~~~~~
TOPDIR/tmp/work/core2-64-oe-linux/pm-qa/0.5.2/recipe-sysroot/usr/include/signal.h:72:16: note: '__sighandler_t' declared here
72 | typedef void (*__sighandler_t) (int);
| ^~~~~~~~~~~~~~
make: *** [<builtin>: utils/uevent_reader] Error 1
Set PATCHTOOL to git because this recipe compiles all .c files including those in .pc/ directory which causes build errors.
.pc/0001-fix-build-with-gcc-15-Wincompatible-pointer-types-er.patch/utils/uevent_reader.c:15:6: note: 'exit_handler' declared here
15 | void exit_handler()
Signed-off-by: mark.yang <mark.yang@lge.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
* some recipes which use googletest fail with:
gtest/src/gtest_main.cc:32: recipe-sysroot/usr/include/c++/15.0.1/ciso646:46:4: error: #warning "<ciso646> is deprecated in C++17, use <version> to detect implementation-specific macros" [-Werror=cpp]
46 | # warning "<ciso646> is deprecated in C++17, use <version> to detect implementation-specific macros"
| ^~~~~~~
backport a fix for this.
* see https://github.com/google/googletest/issues/4701
Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
There appears to be no more network access in the compile task, so we
can remove the flag.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upstream repo does not tag so, use UPSTREAM_CHECK_COMMITS to detect
upstream updates.
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Reviewed-by: Alexandre Truong <alexandre.truong@smile.fr>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
When performing devtool check-upgrade-status, UNKNOWN_BROKEN status appears.
On the upstream source repository, releases are not identified by tags. So,
UPSTREAM_CHECK_COMMITS is set to 1, to find the latest upstream update.
Signed-off-by: Alexandre Truong <alexandre.truong@smile.fr>
Reviewed-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
When performing devtool check-upgrade-status, UNKNOWN_BROKEN status appears.
On the upstream source repository, releases are not identified by tags. So,
UPSTREAM_CHECK_COMMITS is set to 1, to find the latest upstream update.
Signed-off-by: Alexandre Truong <alexandre.truong@smile.fr>
Reviewed-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Adding UPSTREAM_CHECK_URI fix UNKNOWN_BROKEN status from
running devtool check-upgrade-status.
The next version of the package can be found from upstream
sources.
Signed-off-by: Alexandre Truong <alexandre.truong@smile.fr>
Reviewed-by: Yoann Congal <yoann.congal@smile.fr>
Changes:
cukinia: Add user is member of groups function
cukinia: correct _ver2int output format
cukinia: filter junitxml output to only include valid xml 1.0 chars
cukinia: Add network interface functions
cukinia: correct log_suite file name
cukinia: differentiate cukinia_gpio_* tests
cukinia_i2c: check driver
add when/unless
cukinia: fix bashism in result comparison
Change license to Apache-2.0 only
GPL-3.0-only license has been removed intentionally (see changelog).
Signed-off-by: Enguerrand de Ribaucourt <enguerrand.de-ribaucourt@savoirfairelinux.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
All downloaded files and sstates for the recipes were cleaned, build was got from stratch and no errors were encoutered.
Signed-off-by: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Change the -dev RDEPENDS because -staticdev is not created
if shared libraries are built.
Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Fail to build re2 which depends on googletest as below:
/build/tmp-glibc/work/core2-64-wrs-linux/re2/2024.03.01/recipe-sysroot-native/usr/bin/x86_64-wrs-linux/../../libexec/x86_64-wrs-linux/gcc/x86_64-wrs-linux/13.2.0/ld: /build/tmp-glibc/work/core2-64-wrs-linux/re2/2024.03.01/recipe-sysroot/usr/lib64/libgtest.a(gtest-all.cc.o): warning: relocation against `_ZTVN7testing8internal11MatcherBaseINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEE' in read-only section `.text._ZN7testing8internal11MatcherBaseINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEED0Ev[_ZN7testing8internal11MatcherBaseINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEED5Ev]'
/build/tmp-glibc/work/core2-64-wrs-linux/re2/2024.03.01/recipe-sysroot-native/usr/bin/x86_64-wrs-linux/../../libexec/x86_64-wrs-linux/gcc/x86_64-wrs-linux/13.2.0/ld: /build/tmp-glibc/work/core2-64-wrs-linux/re2/2024.03.01/recipe-sysroot/usr/lib64/libgtest.a(gtest-all.cc.o): relocation R_X86_64_PC32 against symbol `_ZTVN7testing8internal17TestEventRepeaterE' can not be used when making a shared object; recompile with -fPIC
/build/tmp-glibc/work/core2-64-wrs-linux/re2/2024.03.01/recipe-sysroot-native/usr/bin/x86_64-wrs-linux/../../libexec/x86_64-wrs-linux/gcc/x86_64-wrs-linux/13.2.0/ld: final link failed: bad value
collect2: error: ld returned 1 exit status
So pass -fPIC to fix the above issue.
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Add a PACKAGECONFIG option to produce shared libraries.
Allow staticdev to be empty if no static libraries
are built.
Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>