aboutsummaryrefslogtreecommitdiff
path: root/support/test-run-command.c
diff options
context:
space:
mode:
Diffstat (limited to 'support/test-run-command.c')
-rw-r--r--support/test-run-command.c22
1 files changed, 22 insertions, 0 deletions
diff --git a/support/test-run-command.c b/support/test-run-command.c
new file mode 100644
index 0000000..61560d7
--- /dev/null
+++ b/support/test-run-command.c
@@ -0,0 +1,22 @@
+/* Main program for test-run-command support utility.
+ Copyright (C) 2021 Free Software Foundation, Inc.
+ This file is part of the GNU C Library.
+
+ The GNU C Library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License as published by the Free Software Foundation; either
+ version 2.1 of the License, or (at your option) any later version.
+
+ The GNU C Library 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
+ Lesser General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public
+ License along with the GNU C Library; if not, see
+ <https://www.gnu.org/licenses/>. */
+
+/* This is basically a configuration of test-driver.c into a general
+ command-line program runner. */
+#define RUN_COMMAND_MODE
+#include <test-driver.c>