summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Komissarov <ABBAPOH@gmail.com>2022-07-27 05:56:55 +0200
committerIvan Komissarov <ABBAPOH@gmail.com>2022-07-27 16:37:13 +0000
commit07f6f47cc6bdf2cec3a88c3a3674c83cecad7fce (patch)
tree06da566c29a7df7c4a0610599afabcb8146f7eda
parent11bc4d729a1938f1aac39c0cc513b241f73fa3d4 (diff)
downloadqbs-07f6f47cc6bdf2cec3a88c3a3674c83cecad7fce.tar.gz
Fix linux baremetal tests
This partially reverts 363e32d41c297355c9766c34ac6b61bfbc668b6a. Change-Id: I2fb58b0505e76b9bc46da6af8ba195e8c821a723 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
-rw-r--r--tests/auto/blackbox/testdata-baremetal/one-object-application/main.c2
-rw-r--r--tests/auto/blackbox/testdata-baremetal/two-object-application/fun.c2
-rw-r--r--tests/auto/blackbox/tst_blackboxbaremetal.cpp1
3 files changed, 0 insertions, 5 deletions
diff --git a/tests/auto/blackbox/testdata-baremetal/one-object-application/main.c b/tests/auto/blackbox/testdata-baremetal/one-object-application/main.c
index d5ac449bf..58fe69254 100644
--- a/tests/auto/blackbox/testdata-baremetal/one-object-application/main.c
+++ b/tests/auto/blackbox/testdata-baremetal/one-object-application/main.c
@@ -1,6 +1,4 @@
-#include <stdio.h>
int main(void)
{
- printf("Hello from app\n");
return 0;
}
diff --git a/tests/auto/blackbox/testdata-baremetal/two-object-application/fun.c b/tests/auto/blackbox/testdata-baremetal/two-object-application/fun.c
index e5850346a..3b8c8f2f4 100644
--- a/tests/auto/blackbox/testdata-baremetal/two-object-application/fun.c
+++ b/tests/auto/blackbox/testdata-baremetal/two-object-application/fun.c
@@ -1,6 +1,4 @@
-#include <stdio.h>
int f(void)
{
- printf("Hello from app\n");
return 0;
}
diff --git a/tests/auto/blackbox/tst_blackboxbaremetal.cpp b/tests/auto/blackbox/tst_blackboxbaremetal.cpp
index 5de30b4e1..ec6ffcdc6 100644
--- a/tests/auto/blackbox/tst_blackboxbaremetal.cpp
+++ b/tests/auto/blackbox/tst_blackboxbaremetal.cpp
@@ -123,7 +123,6 @@ void TestBlackboxBareMetal::application()
if (m_qbsStdout.contains("targetPlatform differs from hostPlatform"))
QSKIP("Cannot run binaries in cross-compiled build");
QCOMPARE(runQbs(QbsRunParameters("run")), 0);
- QVERIFY2(m_qbsStdout.contains("Hello from app"), m_qbsStdout.constData());
}
void TestBlackboxBareMetal::staticLibraryDependencies()