mirror of
https://https.git.savannah.gnu.org/git/gnulib.git
synced 2026-09-01 02:34:55 +00:00
sys_uio: Add C++ tests.
* tests/test-sys_uio-c++.cc: New file. * modules/sys_uio-c++-tests: New file. * modules/sys_uio-tests (Depends-on): Add sys_uio-c++-tests.
This commit is contained in:
@@ -1,3 +1,10 @@
|
||||
2022-09-03 Bruno Haible <bruno@clisp.org>
|
||||
|
||||
sys_uio: Add C++ tests.
|
||||
* tests/test-sys_uio-c++.cc: New file.
|
||||
* modules/sys_uio-c++-tests: New file.
|
||||
* modules/sys_uio-tests (Depends-on): Add sys_uio-c++-tests.
|
||||
|
||||
2022-09-03 Bruno Haible <bruno@clisp.org>
|
||||
|
||||
sys_times: Add C++ tests.
|
||||
|
||||
@@ -0,0 +1,17 @@
|
||||
Files:
|
||||
tests/test-sys_uio-c++.cc
|
||||
|
||||
Status:
|
||||
c++-test
|
||||
|
||||
Depends-on:
|
||||
ansi-c++-opt
|
||||
|
||||
configure.ac:
|
||||
|
||||
Makefile.am:
|
||||
if ANSICXX
|
||||
TESTS += test-sys_uio-c++
|
||||
check_PROGRAMS += test-sys_uio-c++
|
||||
test_sys_uio_c___SOURCES = test-sys_uio-c++.cc
|
||||
endif
|
||||
@@ -2,6 +2,7 @@ Files:
|
||||
tests/test-sys_uio.c
|
||||
|
||||
Depends-on:
|
||||
sys_uio-c++-tests
|
||||
|
||||
configure.ac:
|
||||
|
||||
|
||||
@@ -0,0 +1,28 @@
|
||||
/* Test of <sys/uio.h> substitute in C++ mode.
|
||||
Copyright (C) 2022 Free Software Foundation, Inc.
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <https://www.gnu.org/licenses/>. */
|
||||
|
||||
/* Written by Bruno Haible <bruno@clisp.org>, 2022. */
|
||||
|
||||
#define GNULIB_NAMESPACE gnulib
|
||||
#include <config.h>
|
||||
|
||||
#include <sys/uio.h>
|
||||
|
||||
|
||||
int
|
||||
main ()
|
||||
{
|
||||
}
|
||||
Reference in New Issue
Block a user