Review Request 127757: Don't look-up kbuildsycoca5 on kservice tests

2016-04-27 Thread Aleix Pol Gonzalez

---
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/127757/
---

Review request for KDE Frameworks and Jos van den Oever.


Repository: kservice


Description
---

This way we make sure the correct kbuildsycoca is tested.


Diffs
-

  autotests/CMakeLists.txt 52e7298 
  autotests/ksycoca_xdgdirstest.cpp 1aa7140 

Diff: https://git.reviewboard.kde.org/r/127757/diff/


Testing
---

Tests still pass here.


Thanks,

Aleix Pol Gonzalez

___
Kde-frameworks-devel mailing list
Kde-frameworks-devel@kde.org
https://mail.kde.org/mailman/listinfo/kde-frameworks-devel


Re: Review Request 127757: Don't look-up kbuildsycoca5 on kservice tests

2016-04-27 Thread Jos van den Oever

---
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/127757/#review94905
---



Much more elegant than my approach. Only one comment. I missed on place in 
ksycocatest.cpp:

--- a/autotests/ksycocatest.cpp
+++ b/autotests/ksycocatest.cpp
@@ -223,7 +223,7 @@ void KSycocaTest::dirTimestampShouldBeCheckedRecursively()
 void KSycocaTest::runKBuildSycoca(const QProcessEnvironment &environment, bool 
global)
 {
 QProcess proc;
-const QString kbuildsycoca = 
QStandardPaths::findExecutable(KBUILDSYCOCA_EXENAME);
+const QString kbuildsycoca = QStringLiteral(KBUILDSYCOCAEXE);
 QVERIFY(!kbuildsycoca.isEmpty());
 QStringList args;
 args << "--testmode";

- Jos van den Oever


On apr 27, 2016, 11:38 a.m., Aleix Pol Gonzalez wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/127757/
> ---
> 
> (Updated apr 27, 2016, 11:38 a.m.)
> 
> 
> Review request for KDE Frameworks and Jos van den Oever.
> 
> 
> Repository: kservice
> 
> 
> Description
> ---
> 
> This way we make sure the correct kbuildsycoca is tested.
> 
> 
> Diffs
> -
> 
>   autotests/CMakeLists.txt 52e7298 
>   autotests/ksycoca_xdgdirstest.cpp 1aa7140 
> 
> Diff: https://git.reviewboard.kde.org/r/127757/diff/
> 
> 
> Testing
> ---
> 
> Tests still pass here.
> 
> 
> Thanks,
> 
> Aleix Pol Gonzalez
> 
>

___
Kde-frameworks-devel mailing list
Kde-frameworks-devel@kde.org
https://mail.kde.org/mailman/listinfo/kde-frameworks-devel


Re: Review Request 127757: Don't look-up kbuildsycoca5 on kservice tests

2016-04-27 Thread Aleix Pol Gonzalez

---
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/127757/
---

(Updated April 27, 2016, 4:38 p.m.)


Status
--

This change has been marked as submitted.


Review request for KDE Frameworks and Jos van den Oever.


Changes
---

Submitted with commit 932420b824e1c8e4a32960d24fdccf9a041014b5 by Aleix Pol to 
branch master.


Repository: kservice


Description
---

This way we make sure the correct kbuildsycoca is tested.


Diffs
-

  autotests/CMakeLists.txt 52e7298 
  autotests/ksycoca_xdgdirstest.cpp 1aa7140 

Diff: https://git.reviewboard.kde.org/r/127757/diff/


Testing
---

Tests still pass here.


Thanks,

Aleix Pol Gonzalez

___
Kde-frameworks-devel mailing list
Kde-frameworks-devel@kde.org
https://mail.kde.org/mailman/listinfo/kde-frameworks-devel