]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
libstdc++: Use dg-additional-files in some non-I/O tests
authorJonathan Wakely <jwakely@redhat.com>
Mon, 22 Jul 2024 14:15:16 +0000 (15:15 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Wed, 24 Jul 2024 11:25:26 +0000 (12:25 +0100)
libstdc++-v3/ChangeLog:

* testsuite/20_util/hash/chi2_q_document_words.cc: Use
dg-additional-files for input text.
* testsuite/performance/ext/pb_ds/all_text_find.cc: Likewise.
* testsuite/performance/ext/pb_ds/multimap_text_find.hpp:
Likewise.
* testsuite/performance/ext/pb_ds/multimap_text_insert.hpp:
Likewise.
* testsuite/performance/ext/pb_ds/multimap_text_insert_mem.hpp:
Likewise.
* testsuite/performance/ext/pb_ds/priority_queue_text_join.cc:
Likewise.
* testsuite/performance/ext/pb_ds/priority_queue_text_modify.hpp: Likewise.
* testsuite/performance/ext/pb_ds/priority_queue_text_pop_mem.cc: Likewise.
* testsuite/performance/ext/pb_ds/priority_queue_text_push.cc:
Likewise.
* testsuite/performance/ext/pb_ds/priority_queue_text_push_pop.cc: Likewise.
* testsuite/performance/ext/pb_ds/tree_text_insert.cc: Likewise.
* testsuite/performance/ext/pb_ds/tree_text_lor_find.cc:
Likewise.

12 files changed:
libstdc++-v3/testsuite/20_util/hash/chi2_q_document_words.cc
libstdc++-v3/testsuite/performance/ext/pb_ds/all_text_find.cc
libstdc++-v3/testsuite/performance/ext/pb_ds/multimap_text_find.hpp
libstdc++-v3/testsuite/performance/ext/pb_ds/multimap_text_insert.hpp
libstdc++-v3/testsuite/performance/ext/pb_ds/multimap_text_insert_mem.hpp
libstdc++-v3/testsuite/performance/ext/pb_ds/priority_queue_text_join.cc
libstdc++-v3/testsuite/performance/ext/pb_ds/priority_queue_text_modify.hpp
libstdc++-v3/testsuite/performance/ext/pb_ds/priority_queue_text_pop_mem.cc
libstdc++-v3/testsuite/performance/ext/pb_ds/priority_queue_text_push.cc
libstdc++-v3/testsuite/performance/ext/pb_ds/priority_queue_text_push_pop.cc
libstdc++-v3/testsuite/performance/ext/pb_ds/tree_text_insert.cc
libstdc++-v3/testsuite/performance/ext/pb_ds/tree_text_lor_find.cc

index a6ebc0011eba9c96470be5f5676ad94d29031cff..3c77527c27ceda602eac24689ac297a6dc9a1fe0 100644 (file)
@@ -19,6 +19,8 @@
 // along with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
+// { dg-additional-files "thirty_years_among_the_dead_preproc.txt" }
+
 #include "chi2_quality.h"
 
 // Tests chi^2 for a set of words taken from a document written in English.
index 13c73a76647dce08bf7dfc9b1d3e518193776bbc..df822c3d5f786040c12b75866472caae9d73528c 100644 (file)
@@ -29,6 +29,8 @@
 // purpose. It is provided "as is" without express or implied
 // warranty.
 
+// { dg-additional-files "thirty_years_among_the_dead_preproc.txt" }
+
 /**
  * @file text_find_timing_test.cpp
  * Contains test for finding text.
index 18e383ea17c614b5bb1a52fb71900aa42322cc2b..dbaaf04a1b646cfaf11b1d78f3ca35d97e69c068 100644 (file)
@@ -29,6 +29,8 @@
 // purpose. It is provided "as is" without express or implied
 // warranty.
 
+// { dg-additional-files "thirty_years_among_the_dead_preproc.txt" }
+
 /**
  * @file multimap_text_find_timing_test.cpp
  * Contains test for inserting text words.
index 737be39a154b8a75f976c0a1a0c28b52711e41f6..2c86b52f30a221ca1809e5ba0de24b537e40b111 100644 (file)
@@ -29,6 +29,8 @@
 // purpose. It is provided "as is" without express or implied
 // warranty.
 
+// { dg-additional-files "thirty_years_among_the_dead_preproc.txt" }
+
 /**
  * @file multimap_text_insert_timing_test.cpp
  * Contains test for inserting text words.
index 9ce235381bd8c223720a9ef5d92fb65b18dbedca..ab755312c69aae7ffacb5033cdfff3d0bd59f173 100644 (file)
@@ -29,6 +29,8 @@
 // purpose. It is provided "as is" without express or implied
 // warranty.
 
+// { dg-additional-files "thirty_years_among_the_dead_preproc.txt" }
+
 /**
  * @file multimap_text_insert_mem_usage_test.cpp
  * Contains test for inserting text words.
index a515eea8009e07148643d6ff77522115dd425fca..aee52539fce199f4a829b9def4216ade64a7646f 100644 (file)
@@ -29,6 +29,8 @@
 // purpose. It is provided "as is" without express or implied
 // warranty.
 
+// { dg-additional-files "thirty_years_among_the_dead_preproc.txt" }
+
 /**
  * @file priority_queue_text_join_timing_test.cpp
  * Contains test for finding text.
index cb62b61610557c6bb4e60f671596e5072c545f32..108b67284c33ee1774c9b8f9c2123b8175b5cc9c 100644 (file)
@@ -29,6 +29,8 @@
 // purpose. It is provided "as is" without express or implied
 // warranty.
 
+// { dg-additional-files "thirty_years_among_the_dead_preproc.txt" }
+
 /**
  * @file priority_queue_text_modify_timing_test.cpp
  * Contains test for finding text.
index 0a1003fe0f58eddbf80647914a9f2db2018a1ec5..862de9858f9d8fd0a472152134de799caef8a5ee 100644 (file)
@@ -29,6 +29,8 @@
 // purpose. It is provided "as is" without express or implied
 // warranty.
 
+// { dg-additional-files "thirty_years_among_the_dead_preproc.txt" }
+
 /**
  * @file priority_queue_text_push_pop_timing_test.cpp
  * Contains test for finding text.
index 5a25a9a192507c7601419133ef968e81bd061aef..4ba1fa3174a3889341572e8277a8f6bbd92adac5 100644 (file)
@@ -29,6 +29,8 @@
 // purpose. It is provided "as is" without express or implied
 // warranty.
 
+// { dg-additional-files "thirty_years_among_the_dead_preproc.txt" }
+
 /**
  * @file priority_queue_text_push_timing_test.cpp
  * Contains test for finding text.
index 4013cd28be00958f9ddfdf2f37ceb9f6a34349ac..0a1280962ec1b0044cbffc000809e41ef64c1012 100644 (file)
@@ -29,6 +29,8 @@
 // purpose. It is provided "as is" without express or implied
 // warranty.
 
+// { dg-additional-files "thirty_years_among_the_dead_preproc.txt" }
+
 /**
  * @file priority_queue_text_push_pop_timing_test.cpp
  * Contains test for finding text.
index 760006ec5ca60558145b9bc0711c93bc6529f31a..f439cad0c4e159528f118adcd5d40acfa53fefae 100644 (file)
@@ -29,6 +29,8 @@
 // purpose. It is provided "as is" without express or implied
 // warranty.
 
+// { dg-additional-files "thirty_years_among_the_dead_preproc.txt" }
+
 /**
  * @file tree_text_insert_timing_test.cpp
  * Contains test for finding text.
index 53ed5538101e3f3414567d97e7013e9de6cc6d0e..04dabccf74efaae6a27bd73a8d97f84a859f33b3 100644 (file)
@@ -29,6 +29,8 @@
 // purpose. It is provided "as is" without express or implied
 // warranty.
 
+// { dg-additional-files "thirty_years_among_the_dead_preproc.txt" }
+
 /**
  * @file tree_text_lor_find_timing_test.cpp
  * Contains test for finding text with locality of reference.