delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2022/11/16/12:57:54

X-Recipient: archive-cygwin AT delorie DOT com
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 49C3C395BC68
Authentication-Results: sourceware.org;
dmarc=pass (p=none dis=none) header.from=gmail.com
Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
h=to:subject:message-id:date:from:mime-version:from:to:cc:subject
:date:message-id:reply-to;
bh=GR0ECWFcIlBWJD/v9olISY0ycWGP5sx3lylLFdZLQic=;
b=eKWZDmpWY89iPuGJ7SVubPLzurwLSA9T8IjPplEC0Oaqr+75ENQOc8qqbK5oyKzxsP
57cwsa4hdXjFWnHGv+UYplsv0RddqOzczEp6tsJwGgYm6uFO2U1B/1tBdTIBzyZ1RJV7
uw8wgDLtst4hto56+TpwQBKONBBLAdsj3ksllYF9cTQEzC/b7/SEn0FgTjR9dLIgrLe/
7X9GimDUOhMhCmB3sHsaDErpDoa689TZLUrS4S373ZiZyvV2e1plCjiKBmqgGnlLNghZ
xPq3hfyda+QPWPar555aO1diUIhavb7vfOsPdemrAxww3qUZWAMzJ/AmVx5qQOfUEHf5
Q98Q==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20210112;
h=to:subject:message-id:date:from:mime-version:x-gm-message-state
:from:to:cc:subject:date:message-id:reply-to;
bh=GR0ECWFcIlBWJD/v9olISY0ycWGP5sx3lylLFdZLQic=;
b=jXRmWxhtq5rbmvwh6RD+rkig53+9GKeHTw7zjj83ab6UMOw1LlXtk3FMfJ8uSYolyV
4GNL7urcdQSq+xN5sNXiSApBu+Mm3Vbm8s4mufaVckdbN9CN4qDTsX/WlPY6O6vzfl1O
WHcistAt8+tuOaybZ+D2ebCes5GsT6JQ+szIeSmLRR3RIzGza/BHeqhEvr+tGR08HVhx
hgYjvTjBnWfBGZnG4+Ejhdoqf3727gE1c4muKqbA03gI7JyYWcY0f1gxQFSY4+4X9hBM
socs+JoRyMEJr0XbSoquAW0hA+iHZpCNozkheaKBZyVTXyUYH3NtLz7fR62m6q7OMrZ4
fqBQ==
X-Gm-Message-State: ANoB5plS3yDV55AKAK4uVi4YOZmpaoWxEfluI4zVQljwp0VEsVItqLp0
AharqdW4aY1x7VvH4j/aYzSsLjFha1QIvbKu3NhPmaGVDDE=
X-Google-Smtp-Source: AA0mqf4wENCWj8ChqFWByUX5T44afgjlQZSDwHmSfbg/Cv9makUlGIfSSroJFjp1Oj4Ee+tObHdh3NHRqD1hxBc/XXY=
X-Received: by 2002:a17:902:b598:b0:186:8516:cd5f with SMTP id
a24-20020a170902b59800b001868516cd5fmr10134223pls.11.1668621410721; Wed, 16
Nov 2022 09:56:50 -0800 (PST)
MIME-Version: 1.0
From: Kevin Connor Arpe <kevinarpe AT gmail DOT com>
Date: Thu, 17 Nov 2022 02:56:39 +0900
Message-ID: <CAFMYRROEHB==jFzTCw7tVwa4_9eg5eg6igmi0ZshsT4YyKs0Cw@mail.gmail.com>
Subject: Writing unit tests for newlib/libc/unix/dirname.c
To: cygwin AT cygwin DOT com
X-Spam-Status: No, score=-0.3 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, HTML_MESSAGE,
RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS,
TXREP autolearn=ham autolearn_force=no version=3.4.6
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on
server2.sourceware.org
X-Content-Filtered-By: Mailman/MimeDel 2.1.29
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>

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

-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019