public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
From: Cyril Hrubis <chrubis@suse.cz>
To: ltp@lists.linux.it
Subject: [LTP] Test case float_trigo Reading dsin error
Date: Wed, 6 Sep 2017 13:52:52 +0200	[thread overview]
Message-ID: <20170906115252.GA23579@rei.lan> (raw)
In-Reply-To: <0cca61a2-68a6-72e6-70af-ac437b6e0500@de.bosch.com>

Hi!
> what is the format of dsin and dtan files ? i.e how do they look like 
> since they are binaries i have no clue for creating them.

No idea either, you would have to look into the source code that
prepares these in trigo/gen*.c

> i just had a look at the link here
> https://github.com/linux-test-project/ltp/tree/master/testcases/misc/math/float/trigo
> 
> to be able to generate the data files "manually" , but such data files 
> shall be generated automatically when running the ./float_trigo test 
> cases itself. do you have an idea how so that happens ? and what is the 
> destination directory of the generated files , since i checked 
> /opt/ltp/testcases/bin but didn't find any data files generated there.

Looking into the source code the generators are called from main.c which
executes line composed as: ("cd %s; %s/%s %s", datadir, bin_path,
GENERATOR, bin_path) and the generators create files in $CWD and unless
there is a -D parameter passed to the test the datadir defaults to ".".
The runtest/math file does cd $LTPROOT/testcases/bin before it executes
the test so I guess that by default these files end up in the
/opt/ltp/testcases/bin/ directory. But all of that code is quite messy
so I may be as well wrong.

-- 
Cyril Hrubis
chrubis@suse.cz

      reply	other threads:[~2017-09-06 11:52 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-22 11:32 [LTP] Test case float_trigo Reading dsin error fixed-term.Islam.Tammam
2017-08-22 14:50 ` Cyril Hrubis
2017-08-24  7:32   ` fixed-term.Islam.Tammam
2017-09-06 11:52     ` Cyril Hrubis [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170906115252.GA23579@rei.lan \
    --to=chrubis@suse.cz \
    --cc=ltp@lists.linux.it \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox