summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMarcus Tillmanns <marcus.tillmanns@qt.io>2022-06-09 10:02:44 +0200
committerMarcus Tillmanns <marcus.tillmanns@qt.io>2022-06-09 08:17:16 +0000
commit16c10cc913a1320a38854dddc652f38d24f2e291 (patch)
tree8a6951fb792e99c5866c423f113462dd476122e2 /tests
parent1cf9d066751743ec0714903e29d5318b1437b551 (diff)
downloadqt-creator-16c10cc913a1320a38854dddc652f38d24f2e291.tar.gz
DeviceShell: Don't use 'command' to test for base64
On (debian based) linux the "command -v base64" did fail to find the base64 exectuable. Instead we now use "which". Change-Id: I9b57527d93952b08bcb9abc7484a7e6891aa664c Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/utils/deviceshell/tst_deviceshell.cpp2
-rw-r--r--tests/manual/deviceshell/tst_deviceshell.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/utils/deviceshell/tst_deviceshell.cpp b/tests/auto/utils/deviceshell/tst_deviceshell.cpp
index 40181b7d25..8c68650504 100644
--- a/tests/auto/utils/deviceshell/tst_deviceshell.cpp
+++ b/tests/auto/utils/deviceshell/tst_deviceshell.cpp
@@ -279,6 +279,6 @@ private slots:
}
};
-QTEST_MAIN(tst_DeviceShell)
+QTEST_GUILESS_MAIN(tst_DeviceShell)
#include "tst_deviceshell.moc"
diff --git a/tests/manual/deviceshell/tst_deviceshell.cpp b/tests/manual/deviceshell/tst_deviceshell.cpp
index f9ab9b4e8a..df3e28dab9 100644
--- a/tests/manual/deviceshell/tst_deviceshell.cpp
+++ b/tests/manual/deviceshell/tst_deviceshell.cpp
@@ -223,6 +223,6 @@ private slots:
}
};
-QTEST_MAIN(tst_DeviceShell)
+QTEST_GUILESS_MAIN(tst_DeviceShell)
#include "tst_deviceshell.moc"