Re: Testing framework

2021-04-11 Thread Greg Williamson
I reran the azure job a few days ago. https://dev.azure.com/fundies/freetype2/_build/results?buildId=307=logs=3a288725-918b-506e-a9e9-b0c5a06e5dbe=3a288725-918b-506e-a9e9-b0c5a06e5dbe=1bdf8318-1846-519a-f285-c1e66a0a38e5 The regression tests still work. So any issue you are all getting is

Re: Testing framework

2021-04-10 Thread Alexei Podtelezhnikov
On Sat, Apr 10, 2021 at 11:12 AM sarthak bhardwaj < 1sarthakbhard...@gmail.com> wrote: > Yes, actually I have done it yesterday itself, Great! We use these tools to test FreeType. The whole idea of the project is to automate the process: compare these or similar images for the current master

Re: Testing framework

2021-04-10 Thread sarthak bhardwaj
> Hi Alexei, > > Extremely sorry for replying very late, actually was traveling back from college, as in our country once again school and colleges are closed due to the second wave of COVID-19. Do you have ftview and ftgrid working, either installed from your > distribution package or compiled?

Re: Testing framework

2021-04-10 Thread Alexei Podtelezhnikov
Hi Sarthak, Do you have ftview and ftgrid working, either installed from your distribution package or compiled? I want to make sure that you tried it and know how they work. On Sat, Apr 10, 2021 at 3:14 AM sarthak bhardwaj <1sarthakbhard...@gmail.com> wrote: > I am sorry for the confusion, I

Re: Testing framework

2021-04-10 Thread Werner LEMBERG
> I mean to say that as Alexei have suggested us to run it directly, > by not using Xvfb and capturing the screenshot by pressing simply > [P], that is giving us the .png file saved in same directory. I > think this is what you use to test it in a manual way. Ah, ok, understood. Of course,

Re: Testing framework

2021-04-10 Thread sarthak bhardwaj
> > > but still confused over the thing that whether we have to follow the > > traditional method all the time i.e. xvfbRunAndScreenShot, and check > > some enhancement in it itself, or we have to do it manually all the > > time or student need to figure it out by themselves a suitable > >

Re: Testing framework

2021-04-10 Thread Werner LEMBERG
> but still confused over the thing that whether we have to follow the > traditional method all the time i.e. xvfbRunAndScreenShot, and check > some enhancement in it itself, or we have to do it manually all the > time or student need to figure it out by themselves a suitable > substitute of it?

Re: Testing framework

2021-04-10 Thread sarthak bhardwaj
Hi Werner and Alexei, > It's a good starting point to have a working setup. To improve it > is already part of GSoC :-) > Ok got it, but still confused over the thing that whether we have to follow the traditional method all the time i.e. xvfbRunAndScreenShot, and check some enhancement in it

Re: testing framework GSOC

2021-04-09 Thread Werner LEMBERG
>> It is not clear what problems arise for you because of the local >> vs. remote thing. Please elaborate. Maybe I don't understand you >> correctly. > > When I am trying to run it locally it simply generates blank html > report of the comparison and blank images, i am doing everything > what

Re: Testing framework

2021-04-09 Thread Werner LEMBERG
> inside test-font.sh, there is a function written > xvfbRunAndScreenShot, it will show error and only blank png's will > be generated, as far as there is no ../freetype2-demos/bin/ftgrid > directory found in our demos program, and there is no branch in > demos for GSoC's Gregs works. It will

Re: testing framework GSOC

2021-04-08 Thread Alexei Podtelezhnikov
Hi Aman, Forget about Xvfb. Compile freetype-demos (ftview, and ftgrid) and run them directly. Try making screenshot by pressing [P] or using -kPq switch. Alexei On Thu, Apr 8, 2021 at 3:25 AM Aman Kapoor wrote: > Thanks Sarthak for the help > >> It is not clear what problems arise for you

Re: Testing framework

2021-04-08 Thread Alexei Podtelezhnikov
Hi Sarthak I suggest using ftgrid or ftview executables directly without xvfbRunAndScreenShot. They have built-in capability to save PNG screenshots by pressing [P] or using -k[blah-blah-blah]Pq switch. Please compile freetype-demos in a parallel folder and try it. Best, Alexei On Thu, Apr 8,

Re: testing framework GSOC

2021-04-08 Thread Aman Kapoor
> > Thanks Sarthak for the help > It is not clear what problems arise for you because of the local > vs. remote thing. Please elaborate. Maybe I don't understand you > correctly. > When I am trying to run it locally it simply generates blank html report of the comparison and blank images, i

Re: testing framework GSOC

2021-04-06 Thread Werner LEMBERG
Hello Aman, > i wanna ask that can we run this framework in any other way than > running locally or not? The idea is to have this run remotely eventually, using the CI capabilities of the gitlab instance on freedesktop.org (or maybe something else in case this isn't sufficient for whatever

Re: testing framework GSOC

2021-04-05 Thread Aman Kapoor
Hi all, i wanna ask that can we run this framework in any other way than running locally or not? Please do share the process because i got nothing related to this related on readme..and is process of running locally is written clearly in the documentation because there is difference between