Unable to find headers while running autotests in kdb

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Unable to find headers while running autotests in kdb

Nitish Dwivedi
Hi,
I am trying to run autotests, i.e. KDbTest.cpp and i am not able to find "kdbtestutils_export.h" header which is required by "KDbTestUtils.h".
Here is the error log: https://paste.kde.org/pmhqpcpmv
Here is my .pro file : https://paste.kde.org/pifcu9nsu
Please suggest me what i am doing wrong.
--
Regards,
Nitish Kumar Dwivedi
Institute of Engineering and Technology, DAVV
+918871310633
 

Reply | Threaded
Open this post in threaded view
|

Re: Unable to find headers while running autotests in kdb

Jaroslaw Staniek-3


On Friday, 16 December 2016, Nitish Dwivedi <[hidden email]> wrote:
> Hi,
> I am trying to run autotests, i.e. KDbTest.cpp and i am not able to find "kdbtestutils_export.h" header which is required by "KDbTestUtils.h".
> Here is the error log: https://paste.kde.org/pmhqpcpmv
> Here is my .pro file : https://paste.kde.org/pifcu9nsu
> Please suggest me what i am doing wrong.

Hi Nitish, auto tests should be created in the autotests subdir of the sources. As such they should be built using cmake, not qmake. See existing tests for reference

> --
> Regards,
> Nitish Kumar Dwivedi
> Institute of Engineering and Technology, DAVV
> +918871310633
> <https://ci3.googleusercontent.com/proxy/cUwcvTSe7wM2sBM-43JmT-R7cq1yVrs9KD_klumv1riBM5ZUYZElXyLa8u5d9CCcLIC0FGJ-t5dDgk7Pel_CsQR9sd4kh1S11pint38dgy92HqSqJBtXHRi3i3VEqC82RlaGJ0hgEu3ApKs-wVZYa7xECIZlJ6kdlUDv8uGEtX-S2a9kYUHPytg0cgq-sJoQ1P85EKLdHMFcxiM=s0-d-e1-ft#https://docs.google.com/uc?export=download&id=0B81XlpIcfjQ9M3lXcTFkSVdrLWM&revid=0B81XlpIcfjQ9Mkw2RGJ4TVE2dEt6ejE4S2pJQ21EdnpoN3E0PQ><https://ci5.googleusercontent.com/proxy/RTrb4IgbHwAaHcZu40seYoeVFByBvkznkjvvNac2CZ6G6D749zwAhZddJPwaBr757bvYjyvJv3ymyxlq8YF5OVHEfVFOHTGBR2pyWXBE1Y3oj8QBpVYysUWJ-hOD1Bu2hcF9QTlzXr5uIqHJvXrIje5_Y2fFcpTeVY8Ux2pDLHrlbj2FlgOs6KRYaHCxFXuUiE4WWO9Si1nU3cg=s0-d-e1-ft#https://docs.google.com/uc?export=download&id=0B81XlpIcfjQ9QV9WeGk0RlVISVE&revid=0B81XlpIcfjQ9bE5EVlBFQ1JQOXZNYVpGQ0VKUTY1ZUVpczk0PQ><https://ci4.googleusercontent.com/proxy/a7Phe9SL-I8n63Fk6YN5pR08qClgqf0x6VjxNFzgLxYt0Y8FDJ1p1e5zQyQZuVS_2McLl2oPrnckCY_lui43WMAuTPfWvF1H04y6iu6A0ttG3cQ9MZtjEL5qX7NiYPm2_ZOaaa51eYqgvEEbfU-Ge7hmb4RaUxpQWUlOnoGZnY67r6YsYNnMzn1gIqEb9i3PIr7F7H9eRPXox0E=s0-d-e1-ft#https://docs.google.com/uc?export=download&id=0B81XlpIcfjQ9eXBYaWF3MGhnYTA&revid=0B81XlpIcfjQ9SnNMWmVNZHowOWpreTBDT1ZLWVVvS3dBMldBPQ> <https://ci4.googleusercontent.com/proxy/BO2J_nuce0kt6JLcLmlXTd4wSr_pBnwIaDhN3dZcR7AH29Hh49oT769grA1zb2hcHjls1UZkObNaT5T8kfnCTEn6TLp47Qkk1wbDKYzcCUsH2i33NzaSn-VYuffdQ5meS12Z9dPbxj9uZxTacsMT1hp_g4t3Jx2jJ8CAxm80Dr5FKz8eZ994YGmNzAYF4ihyNlsIIiqgNNTpCoM=s0-d-e1-ft#https://docs.google.com/uc?export=download&id=0B81XlpIcfjQ9VEdrcWhPSTdpU0E&revid=0B81XlpIcfjQ9Z0tTM2d6RXRQWFByMFZpNEhiMTFIMUpIWUpBPQ>
>
>

--
regards, Jaroslaw Staniek

KDE:
: A world-wide network of software engineers, artists, writers, translators
: and facilitators committed to Free Software development - http://kde.org
Calligra Suite:
: A graphic art and office suite - http://calligra.org
Kexi:
: A visual database apps builder - http://calligra.org/kexi
Qt Certified Specialist:
: http://www.linkedin.com/in/jstaniek
Reply | Threaded
Open this post in threaded view
|

Re: Unable to find headers while running autotests in kdb

Jaroslaw Staniek-3


On 16 December 2016 at 08:13, Jaroslaw Staniek <[hidden email]> wrote:


On Friday, 16 December 2016, Nitish Dwivedi <[hidden email]> wrote:
> Hi,
> I am trying to run autotests, i.e. KDbTest.cpp and i am not able to find "kdbtestutils_export.h" header which is required by "KDbTestUtils.h".
> Here is the error log: https://paste.kde.org/pmhqpcpmv
> Here is my .pro file : https://paste.kde.org/pifcu9nsu
> Please suggest me what i am doing wrong.

Hi Nitish, auto tests should be created in the autotests subdir of the sources. As such they should be built using cmake, not qmake. See existing tests for reference

Even while Season of KDE students can't push changes to the official git repos, I can do it for them once the code is accepted.


> --
> Regards,
> Nitish Kumar Dwivedi
> Institute of Engineering and Technology, DAVV
> <a href="tel:+91%2088713%2010633" value="+918871310633" target="_blank">+918871310633
> <https://ci3.googleusercontent.com/proxy/cUwcvTSe7wM2sBM-43JmT-R7cq1yVrs9KD_klumv1riBM5ZUYZElXyLa8u5d9CCcLIC0FGJ-t5dDgk7Pel_CsQR9sd4kh1S11pint38dgy92HqSqJBtXHRi3i3VEqC82RlaGJ0hgEu3ApKs-wVZYa7xECIZlJ6kdlUDv8uGEtX-S2a9kYUHPytg0cgq-sJoQ1P85EKLdHMFcxiM=s0-d-e1-ft#https://docs.google.com/uc?export=download&id=0B81XlpIcfjQ9M3lXcTFkSVdrLWM&revid=0B81XlpIcfjQ9Mkw2RGJ4TVE2dEt6ejE4S2pJQ21EdnpoN3E0PQ><https://ci5.googleusercontent.com/proxy/RTrb4IgbHwAaHcZu40seYoeVFByBvkznkjvvNac2CZ6G6D749zwAhZddJPwaBr757bvYjyvJv3ymyxlq8YF5OVHEfVFOHTGBR2pyWXBE1Y3oj8QBpVYysUWJ-hOD1Bu2hcF9QTlzXr5uIqHJvXrIje5_Y2fFcpTeVY8Ux2pDLHrlbj2FlgOs6KRYaHCxFXuUiE4WWO9Si1nU3cg=s0-d-e1-ft#https://docs.google.com/uc?export=download&id=0B81XlpIcfjQ9QV9WeGk0RlVISVE&revid=0B81XlpIcfjQ9bE5EVlBFQ1JQOXZNYVpGQ0VKUTY1ZUVpczk0PQ><https://ci4.googleusercontent.com/proxy/a7Phe9SL-I8n63Fk6YN5pR08qClgqf0x6VjxNFzgLxYt0Y8FDJ1p1e5zQyQZuVS_2McLl2oPrnckCY_lui43WMAuTPfWvF1H04y6iu6A0ttG3cQ9MZtjEL5qX7NiYPm2_ZOaaa51eYqgvEEbfU-Ge7hmb4RaUxpQWUlOnoGZnY67r6YsYNnMzn1gIqEb9i3PIr7F7H9eRPXox0E=s0-d-e1-ft#https://docs.google.com/uc?export=download&id=0B81XlpIcfjQ9eXBYaWF3MGhnYTA&revid=0B81XlpIcfjQ9SnNMWmVNZHowOWpreTBDT1ZLWVVvS3dBMldBPQ> <https://ci4.googleusercontent.com/proxy/BO2J_nuce0kt6JLcLmlXTd4wSr_pBnwIaDhN3dZcR7AH29Hh49oT769grA1zb2hcHjls1UZkObNaT5T8kfnCTEn6TLp47Qkk1wbDKYzcCUsH2i33NzaSn-VYuffdQ5meS12Z9dPbxj9uZxTacsMT1hp_g4t3Jx2jJ8CAxm80Dr5FKz8eZ994YGmNzAYF4ihyNlsIIiqgNNTpCoM=s0-d-e1-ft#https://docs.google.com/uc?export=download&id=0B81XlpIcfjQ9VEdrcWhPSTdpU0E&revid=0B81XlpIcfjQ9Z0tTM2d6RXRQWFByMFZpNEhiMTFIMUpIWUpBPQ>
>
>

--
regards, Jaroslaw Staniek

KDE:
: A world-wide network of software engineers, artists, writers, translators
: and facilitators committed to Free Software development - http://kde.org
Calligra Suite:
: A graphic art and office suite - http://calligra.org
Kexi:
: A visual database apps builder - http://calligra.org/kexi
Qt Certified Specialist:
: http://www.linkedin.com/in/jstaniek



--
regards, Jaroslaw Staniek

KDE:
: A world-wide network of software engineers, artists, writers, translators
: and facilitators committed to Free Software development - http://kde.org
Calligra Suite:
: A graphic art and office suite - http://calligra.org
Kexi:
: A visual database apps builder - http://calligra.org/kexi
Qt Certified Specialist:
: http://www.linkedin.com/in/jstaniek
Reply | Threaded
Open this post in threaded view
|

Re: Unable to find headers while running autotests in kdb

Jaroslaw Staniek-3
In reply to this post by Jaroslaw Staniek-3


On 16 December 2016 at 08:13, Jaroslaw Staniek <[hidden email]> wrote:


On Friday, 16 December 2016, Nitish Dwivedi <[hidden email]> wrote:
> Hi,
> I am trying to run autotests, i.e. KDbTest.cpp and i am not able to find "kdbtestutils_export.h" header which is required by "KDbTestUtils.h".
> Here is the error log: https://paste.kde.org/pmhqpcpmv
> Here is my .pro file : https://paste.kde.org/pifcu9nsu
> Please suggest me what i am doing wrong.

Hi Nitish, auto tests should be created in the autotests subdir of the sources. As such they should be built using cmake, not qmake. See existing tests for reference


​Please ​
 
​share your "test plan"​ i.e. features/APIs you're intend to cover so we can support each other.

> --
> Regards,
> Nitish Kumar Dwivedi
> Institute of Engineering and Technology, DAVV
> <a href="tel:+91%2088713%2010633" value="+918871310633" target="_blank">+918871310633
> <https://ci3.googleusercontent.com/proxy/cUwcvTSe7wM2sBM-43JmT-R7cq1yVrs9KD_klumv1riBM5ZUYZElXyLa8u5d9CCcLIC0FGJ-t5dDgk7Pel_CsQR9sd4kh1S11pint38dgy92HqSqJBtXHRi3i3VEqC82RlaGJ0hgEu3ApKs-wVZYa7xECIZlJ6kdlUDv8uGEtX-S2a9kYUHPytg0cgq-sJoQ1P85EKLdHMFcxiM=s0-d-e1-ft#https://docs.google.com/uc?export=download&id=0B81XlpIcfjQ9M3lXcTFkSVdrLWM&revid=0B81XlpIcfjQ9Mkw2RGJ4TVE2dEt6ejE4S2pJQ21EdnpoN3E0PQ><https://ci5.googleusercontent.com/proxy/RTrb4IgbHwAaHcZu40seYoeVFByBvkznkjvvNac2CZ6G6D749zwAhZddJPwaBr757bvYjyvJv3ymyxlq8YF5OVHEfVFOHTGBR2pyWXBE1Y3oj8QBpVYysUWJ-hOD1Bu2hcF9QTlzXr5uIqHJvXrIje5_Y2fFcpTeVY8Ux2pDLHrlbj2FlgOs6KRYaHCxFXuUiE4WWO9Si1nU3cg=s0-d-e1-ft#https://docs.google.com/uc?export=download&id=0B81XlpIcfjQ9QV9WeGk0RlVISVE&revid=0B81XlpIcfjQ9bE5EVlBFQ1JQOXZNYVpGQ0VKUTY1ZUVpczk0PQ><https://ci4.googleusercontent.com/proxy/a7Phe9SL-I8n63Fk6YN5pR08qClgqf0x6VjxNFzgLxYt0Y8FDJ1p1e5zQyQZuVS_2McLl2oPrnckCY_lui43WMAuTPfWvF1H04y6iu6A0ttG3cQ9MZtjEL5qX7NiYPm2_ZOaaa51eYqgvEEbfU-Ge7hmb4RaUxpQWUlOnoGZnY67r6YsYNnMzn1gIqEb9i3PIr7F7H9eRPXox0E=s0-d-e1-ft#https://docs.google.com/uc?export=download&id=0B81XlpIcfjQ9eXBYaWF3MGhnYTA&revid=0B81XlpIcfjQ9SnNMWmVNZHowOWpreTBDT1ZLWVVvS3dBMldBPQ> <https://ci4.googleusercontent.com/proxy/BO2J_nuce0kt6JLcLmlXTd4wSr_pBnwIaDhN3dZcR7AH29Hh49oT769grA1zb2hcHjls1UZkObNaT5T8kfnCTEn6TLp47Qkk1wbDKYzcCUsH2i33NzaSn-VYuffdQ5meS12Z9dPbxj9uZxTacsMT1hp_g4t3Jx2jJ8CAxm80Dr5FKz8eZ994YGmNzAYF4ihyNlsIIiqgNNTpCoM=s0-d-e1-ft#https://docs.google.com/uc?export=download&id=0B81XlpIcfjQ9VEdrcWhPSTdpU0E&revid=0B81XlpIcfjQ9Z0tTM2d6RXRQWFByMFZpNEhiMTFIMUpIWUpBPQ>
>
>

--
regards, Jaroslaw Staniek

KDE:
: A world-wide network of software engineers, artists, writers, translators
: and facilitators committed to Free Software development - http://kde.org
Calligra Suite:
: A graphic art and office suite - http://calligra.org
Kexi:
: A visual database apps builder - http://calligra.org/kexi
Qt Certified Specialist:
: http://www.linkedin.com/in/jstaniek



--
regards, Jaroslaw Staniek

KDE:
: A world-wide network of software engineers, artists, writers, translators
: and facilitators committed to Free Software development - http://kde.org
Calligra Suite:
: A graphic art and office suite - http://calligra.org
Kexi:
: A visual database apps builder - http://calligra.org/kexi
Qt Certified Specialist:
: http://www.linkedin.com/in/jstaniek