forked from epics-modules/gtest
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes epics-modules#2: - does not use makefile snippets (which were adding test execution to the build) - tap file lists are created when running the tests - 'tapfiles' target directly depends on test run in case tests have not been run yet
- Loading branch information
1 parent
bfec0b6
commit 5ac786c
Showing
4 changed files
with
43 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
#!/usr/bin/env perl | ||
#*************************************************************************\ | ||
#* Copyright (c) 2025 ITER Organization. | ||
#* This module is distributed subject to a Software License Agreement found | ||
#* in file LICENSE that is included with this distribution. | ||
#*************************************************************************/ | ||
# | ||
# Author: Ralph Lange <ralph.lange@gmx.de> | ||
# | ||
# testSuiteList.pl | ||
# | ||
# called from RULES_GTEST | ||
# | ||
# Usage: <test-exe-name> --gtest_list_tests | perl testSuiteList.pl | ||
# returns the names of reported test suites (lines ending in dot) | ||
# | ||
# Put in a minimal script as the appearance of '$' characters | ||
# inside a 'perl -e' expression cannot be written inside a Makefile | ||
# in a way that is portable between Windows (bash, command.com) and Linux | ||
|
||
while (my $line = <STDIN>) { | ||
if ($line =~ m/^[^[:space:]]*.$/) { | ||
$line =~ s/.$//; | ||
print $line; | ||
} | ||
} |