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 there is specified in the project and what have described,
> [...]

This basically means that the documentation is not sufficient, I
guess.

> at first when i haven't changed the filename to freetypte2 it was
> not even processing and showing errors but now it processing well
> but generating only blank pages.

Ah, the renaming of the git repository from 'freetype2' to 'freetype'
(and 'freetype2-demos' to 'freetype-demos') and thus the names of the
associated directories happened after last year's GSoC, which means
the scripts have to be adapted accordingly.

> I need some help and i request someone to try this out locally on
> your end, and tell me is it working because i have tried several
> times it is not working for me...

I hope it works for you now.  In general, such broad messages like 'it
doesn't work for me inspite of following the instructions to the
letter' doesn't allow us to help you at all.  It is necessary that you
describe your setup and procedure as detailed as possible so that we
can follow you closely.  This includes build log files, environment
settings (if necessary), directory names, setup etc., etc.  In most
cases, the cause of the problem is a typo or a tiny missing detail
that is near to impossible to catch otherwise.


Werner



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 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 there is
> specified in the project and what have described, at first when i haven't
> changed the filename to freetypte2 it was not even processing and showing
> errors but now it processing well but generating only blank pages. And i am
> not getting the differences.
> I need some help and i request someone to try this out locally on
> your end, and tell me is it working because i have tried several times it
> is not working for me...
>
>>

-- 
Alexei A. Podtelezhnikov, PhD


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 am doing everything what there is
specified in the project and what have described, at first when i haven't
changed the filename to freetypte2 it was not even processing and showing
errors but now it processing well but generating only blank pages. And i am
not getting the differences.
I need some help and i request someone to try this out locally on your end,
and tell me is it working because i have tried several times it is
not working for me...

>


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 reason) to
automatically generate HTML pages with images.

However, it doesn't make a big difference: The CI stuff has to be
tested and prepared locally; to do debugging is probably a nightmare
otherwise.

So it boils down whether it is ok that extra prerequisites are
required, and the answer is yes.

Here is an example MR (merge request) for the LilyPond typesetter that
I've already sent some months ago to the list:

  https://gitlab.com/lilypond/lilypond/-/merge_requests/589

and here are the artifacts of a successfully executed pipeline job for
online viewing (doing `make test` for the MR and comparing it to a
baseline's `make test`):

  
https://lilypond.gitlab.io/-/lilypond/-/jobs/944871436/artifacts/test-results/index.html

Whether you say `make test` on your computer or whether the CI engine
does `make test`, there isn't a difference.  In both cases HTML files
are generated.

> 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
> instructions given in readme and report given to mailing list by
> Greg Williamson.

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.


Werner



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
instructions given in readme and report given to mailing list by Greg
Williamson.

And Alexei can you tell that what is the thing you want to improve in image
generation and what is inside the demo programs? That can be useful

Thanks
Aman Kapoor

>
>>
>>
>>