- 264 license table entries with exact download URLs (224/264 resolved) - Complete sources/ directory with all BitBake recipes - Build configuration: tqma6ul-multi-mba6ulx, spaetzle (musl) - Full traceability for Softwarefreigabeantrag - GCC 13.4.0, Linux 6.6.102, U-Boot 2023.04, musl 1.2.4 - License distribution: GPL-2.0 (24), MIT (23), GPL-2.0+ (18), BSD-3 (16)
26 lines
683 B
C++
26 lines
683 B
C++
/*
|
|
* Copyright OpenEmbedded Contributors
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*/
|
|
|
|
#include "cpp-example-lib.hpp"
|
|
|
|
#include <iostream>
|
|
|
|
/* This is for creating a failing test for testing the test infrastructure */
|
|
#ifndef FAIL_COMPARISON_STR
|
|
#define FAIL_COMPARISON_STR ""
|
|
#endif
|
|
|
|
int main() {
|
|
auto cpp_example = CppExample();
|
|
auto ret_string = cpp_example.get_string();
|
|
if(0 == ret_string.compare(CppExample::test_string + FAIL_COMPARISON_STR)) {
|
|
std::cout << "PASS: " << ret_string << " = " << CppExample::test_string << std::endl;
|
|
} else {
|
|
std::cout << "FAIL: " << ret_string << " != " << CppExample::test_string << std::endl;
|
|
return 1;
|
|
}
|
|
}
|