public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Kevin Connor Arpe <kevinarpe@gmail.com>
To: cygwin@cygwin.com
Subject: Writing unit tests for newlib/libc/unix/dirname.c
Date: Thu, 17 Nov 2022 02:56:39 +0900	[thread overview]
Message-ID: <CAFMYRROEHB==jFzTCw7tVwa4_9eg5eg6igmi0ZshsT4YyKs0Cw@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 578 bytes --]

Hello,

Newbie here.  "Long time listener, first time caller!"
I am an "ok" C programmer, but definitely not expert / kernel-level.

I am trying to write unit tests for newlib/libc/unix/dirname.c.
(That function has so many tricky corner cases!)
I tried to follow from: newlib/testsuite/newlib.string/memcpy-1.c
However, I cannot make unit tests run via: make test

What am I doing wrong?  How can I run the unit tests from memcpy-1.c?

Last: I know that newlib != cygwin.  If I sent this email the wrong mailing
list, please let me know.

Kind regards,
Kevin ARPE
Tokyo, Japan

             reply	other threads:[~2022-11-16 17:56 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-16 17:56 Kevin Connor Arpe [this message]
2022-11-17  8:11 ` Csaba Raduly

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='CAFMYRROEHB==jFzTCw7tVwa4_9eg5eg6igmi0ZshsT4YyKs0Cw@mail.gmail.com' \
    --to=kevinarpe@gmail.com \
    --cc=cygwin@cygwin.com \
    /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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).