Stefan Floeren
75aa3ee7e7
GoogleTest: Fix name generation for XML_OUTPUT_DIR
...
The Google test framework allows to write the results into an XML file
since commit e9ab39eb1d (GoogleTest: Add XML_OUTPUT_DIR parameter,
2020-03-06, v3.18.0-rc1~538^2~2). This file is passed on the command
line: `--gtest_output=xml:FILE_NAME`.
The module allows to specify a directory to save those files with
**TEST_XML_OUTPUT_PARAM**.
If the option is set, the filename will be set to
`${prefix}${pretty_suite}.${pretty_test}${suffix}.xml`.
The pretty names contain parameters for the tests, if
value-parameterized tests are used. These parameters may not be safe to
use in file names.
There are two possible options:
1. sanitize the file name
2. omit the values and use the internal numbering of gtest
This commit chose option 2. The testname needs to be a valid C++
identifier and should therefore be reasonable for a filename.
Note that the generated names contain slashes. This will lead to
subdirectories, but works on both Linux and Windows.
Fixes : #20877
2020-06-26 09:39:51 -04:00
..
2020-06-13 11:29:55 +03:00
2019-10-17 10:18:52 -04:00
2020-04-03 22:05:55 +11:00
2019-11-13 18:02:18 -05:00
2020-05-18 15:11:19 +02:00
2020-02-27 11:09:25 -05:00
2020-06-12 21:49:15 +03:00
2020-05-30 20:32:38 -07:00
2020-04-06 16:58:10 +02:00
2019-12-10 16:43:27 +02:00
2019-12-09 14:15:42 -05:00
2019-11-02 14:10:09 +02:00
2019-11-02 14:10:09 +02:00
2019-12-09 14:15:42 -05:00
2019-11-02 14:10:09 +02:00
2019-11-02 14:10:09 +02:00
2019-07-26 15:09:28 -04:00
2019-11-02 14:10:09 +02:00
2020-02-28 10:57:45 -05:00
2020-02-28 10:57:45 -05:00
2019-11-02 14:10:09 +02:00
2019-11-02 14:10:09 +02:00
2019-11-02 14:10:09 +02:00
2019-11-02 14:10:09 +02:00
2020-03-26 12:57:07 -04:00
2020-05-06 09:27:13 -04:00
2019-11-02 14:10:09 +02:00
2020-05-25 10:57:14 -04:00
2019-09-28 15:56:46 +02:00
2019-11-02 14:10:09 +02:00
2019-11-02 14:10:09 +02:00
2019-09-28 15:56:53 +02:00
2019-11-02 14:10:09 +02:00
2019-11-02 14:10:09 +02:00
2019-11-02 14:10:09 +02:00
2019-11-02 14:10:09 +02:00
2020-02-28 13:57:31 -05:00
2019-11-02 14:10:09 +02:00
2019-11-02 14:10:09 +02:00
2020-01-28 13:57:05 -05:00
2020-03-23 21:34:17 +01:00
2020-04-20 11:07:30 -04:00
2020-04-14 13:48:28 -04:00
2020-03-23 21:34:17 +01:00
2020-04-14 13:48:28 -04:00
2019-12-30 11:14:12 +01:00
2020-03-23 21:34:17 +01:00
2020-05-15 17:46:51 +03:00
2020-01-16 09:34:00 -05:00
2020-06-12 23:13:57 +03:00
2019-12-10 17:56:48 -05:00
2020-05-15 17:46:51 +03:00
2020-04-14 13:48:28 -04:00
2019-10-10 13:14:42 -04:00
2020-03-23 21:34:17 +01:00
2019-08-05 10:15:21 -04:00
2020-04-14 13:48:28 -04:00
2020-05-26 11:38:01 -04:00
2019-12-10 17:56:48 -05:00
2020-05-06 08:25:58 -04:00
2020-05-25 14:08:19 -04:00
2020-05-22 06:50:19 -04:00
2019-07-11 09:50:30 -04:00
2020-06-16 14:06:43 -04:00
2020-05-26 11:38:01 -04:00
2020-04-14 13:48:28 -04:00
2020-05-14 07:17:48 -04:00
2020-05-15 09:15:46 -04:00
2020-03-09 09:11:22 -04:00
2019-10-15 21:13:51 +05:30
2020-03-03 08:31:13 -05:00
2020-05-26 11:38:01 -04:00
2020-03-11 12:54:26 -04:00
2020-04-14 13:48:28 -04:00
2020-03-23 21:34:17 +01:00
2020-05-12 08:08:20 -04:00
2019-10-08 13:45:56 +11:00
2019-11-04 12:03:48 -05:00
2019-11-26 11:20:15 -05:00
2019-09-28 15:56:46 +02:00
2019-09-28 15:56:46 +02:00
2019-09-28 15:56:46 +02:00
2020-03-23 21:34:17 +01:00
2019-09-28 15:56:53 +02:00
2019-09-28 15:56:53 +02:00
2019-09-28 15:56:53 +02:00
2020-03-23 21:34:17 +01:00
2019-11-25 14:32:02 -05:00
2019-08-28 10:39:53 -04:00
2019-10-11 10:22:52 -04:00
2019-10-31 10:24:17 +11:00
2020-04-14 09:48:50 -04:00
2020-04-06 21:19:12 +02:00
2020-02-10 10:32:37 -05:00
2020-03-11 08:45:47 -04:00
2019-11-06 21:45:12 +11:00
2020-05-25 14:39:40 -04:00
2019-11-02 14:10:09 +02:00
2019-11-02 14:10:09 +02:00
2020-05-25 14:39:40 -04:00
2020-05-25 14:39:40 -04:00
2020-05-25 14:39:40 -04:00
2020-05-25 14:39:40 -04:00
2020-05-25 14:39:40 -04:00
2020-02-10 10:32:37 -05:00
2020-02-14 21:49:47 +11:00
2020-02-17 16:12:15 +01:00
2020-06-08 08:11:39 -04:00
2020-01-14 17:40:29 -05:00
2020-04-30 08:42:00 -04:00
2019-12-10 14:42:30 -05:00
2019-12-10 16:43:27 +02:00
2020-04-22 10:46:03 -04:00
2020-05-29 12:10:32 -04:00
2020-05-26 11:38:01 -04:00
2020-05-29 12:10:32 -04:00
2020-03-06 11:29:21 -05:00
2019-07-03 11:57:53 +03:00
2019-07-15 07:34:01 -04:00
2020-04-23 13:59:33 -04:00
2020-05-05 09:05:18 -04:00
2019-08-21 12:00:11 -04:00
2020-02-24 14:14:38 -05:00
2020-06-12 23:13:57 +03:00
2019-10-15 13:56:28 -04:00
2020-01-20 15:49:29 -05:00
2019-11-02 14:10:09 +02:00
2020-05-09 13:35:51 +10:00
2019-11-15 11:46:06 -05:00
2020-02-12 14:37:41 -05:00
2019-09-18 12:03:53 -04:00
2020-01-24 10:18:36 -05:00
2020-05-11 10:12:14 -04:00
2020-05-26 11:38:01 -04:00
2019-10-02 14:47:11 +02:00
2019-10-02 14:47:11 +02:00
2020-04-27 14:19:02 -04:00
2019-12-05 17:18:28 -05:00
2019-08-23 11:19:21 -04:00
2020-01-07 15:50:10 +01:00
2020-04-28 19:14:03 +02:00
2020-01-14 17:45:23 -05:00
2020-03-19 12:47:10 -04:00
2019-11-02 14:10:09 +02:00
2020-05-25 11:17:52 -04:00
2019-11-25 13:55:51 -05:00
2020-01-14 17:25:49 -05:00
2020-04-10 20:49:10 +07:00
2020-02-24 14:07:28 -05:00
2020-01-20 15:49:29 -05:00
2020-02-10 17:20:19 -05:00
2020-06-09 08:53:05 -04:00
2020-04-30 10:54:36 +02:00
2020-05-06 07:45:55 -04:00
2019-11-28 12:15:20 +01:00
2019-11-15 09:01:37 -05:00
2020-06-10 15:01:37 -04:00
2020-05-11 14:02:59 +02:00
2020-05-11 14:02:59 +02:00
2020-05-11 14:02:59 +02:00
2020-01-14 15:02:19 -05:00
2020-01-14 15:02:19 -05:00
2019-07-03 11:57:53 +03:00
2020-03-23 13:22:23 +01:00
2020-05-19 11:47:19 +02:00
2020-05-28 11:37:47 -04:00
2020-02-26 10:12:30 -05:00
2020-01-14 17:25:49 -05:00
2020-05-25 11:17:52 -04:00
2020-05-06 16:07:49 +02:00
2019-12-10 09:11:14 -05:00
2020-03-04 16:55:32 +01:00
2020-05-23 16:03:53 +01:00
2019-11-02 14:10:09 +02:00
2020-03-19 10:17:40 -04:00
2020-01-30 09:14:47 -05:00
2020-03-20 10:14:39 -05:00
2020-06-26 09:39:51 -04:00
2020-01-20 13:19:56 -05:00
2019-08-20 10:26:06 -04:00
2020-01-24 07:55:53 +11:00
2020-05-26 11:38:01 -04:00
2020-05-19 11:47:19 +02:00
2020-05-19 11:47:19 +02:00
2020-05-19 11:47:19 +02:00
2019-11-02 14:10:09 +02:00
2019-11-02 14:10:09 +02:00
2019-11-02 14:10:09 +02:00
2019-11-02 14:10:09 +02:00
2019-11-02 14:10:09 +02:00
2020-03-23 21:34:17 +01:00
2020-04-10 10:59:30 -04:00
2020-06-01 10:09:56 -04:00