/srv/irclogs.ubuntu.com/2014/09/12/#ubuntu-autopilot.txt

nik90elopio: ping me when you are online. We can discuss https://code.launchpad.net/~canonical-platform-qa/ubuntu-clock-app/xvfb_and_qml_tests/+merge/23442114:46
elopioping nik9015:02
nik90elopio: hey15:02
nik90elopio: I was looking at your MP in the morning15:02
nik90elopio: and when opening it in qtc, I noticed Qml tests disabled: xvfb-run not found15:03
nik90this was on my laptop which has xvfb installed15:03
elopionik90: hello. I was just trying to run the tests with xvfb, because fginther said they failed for him on CI.15:06
elopiobut lets see... On qtcreator, on the build -> make menu15:07
elopioI only see check, autopilot, install, uninstall. How do I get to run make test?15:07
nik90me too15:07
nik90I used to do it manually from terminal15:07
nik90so I used to do mkdir builddir && cd builddir15:07
nik90cmake .. && make15:07
nik90then make test15:07
balloonselopio, fyi, francis's experiments are not in the normal clock app CI jobs15:09
elopionik90: making from the builddir doesn't work because cmake is creating the files on the root of the branch.15:09
elopiohttp://paste.ubuntu.com/8327808/15:10
elopioballoons: you mean that they are not run on MPs?15:10
nik90elopio: the steps I mentioned above works for me15:11
nik90elopio: well the tests don't run since I am trying to run this on trusty15:12
nik90elopio: but make test correctly shows the tests15:12
balloonselopio, no they are not atm. francis tried but didn't succeed in getting them to run..15:13
balloonsthey are not in the mp jobs15:14
elopionik90: I might had a cmake cache or something. Now it's writing the files on the builddir.15:14
elopioand yes, make test works.15:14
elopioso I'm not sure where are you getting the message that xvfb is not found.15:15
nik90elopio: so when you opened it in qtc, how did you run the tests?15:16
nik90elopio: since I don't see tests in the build->make menu15:17
elopionik90: I didn't run them from qtc. That was my first question.15:17
nik90elopio: ah ok..I don't think it will work with qtc, or atleast that's not the goal.15:17
nik90elopio: command line works15:17
elopionik90: I'm confused :)15:20
elopiobut if you think it's ok, I'm ok.15:20
nik90elopio: I am a bit confused as well :P15:20
nik90elopio: ok so previously one couldn't run qml tests in qtc.15:20
nik90elopio: when you changed the cmake files, I figured you added a custom target for make tests to make it runnable from within qtc.15:21
nik90elopio: but I see that wasn't the case, which is why I said it is okay15:21
elopionik90: well, make test doesn't need a custom target. I thought qtc would find it anyway.15:23
elopioand in your initial implementation, you didn't have a custom target either.15:23
nik90yup I didn't15:24
elopioI could add one to see what happens.15:24
nik90its just a luxury, so if you want to go ahead15:24
elopiohum, but then add_test I think wouldn't work.15:25
elopiozbenjamin: how can we run make test from qtcreator?15:25
zbenjaminelopio: well you could add a custom run configuration that executes make test in the builddirectory18:00
=== zbenjamin is now known as 6JTAAFWR0

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!