Skip to content

Commit c7576cb

Browse files
committed
[libc++][test] Fixes transitive includes.
These were accidentally set to generating in 243da90 Reviewed By: #libc, philnik Differential Revision: https://reviews.llvm.org/D137278
1 parent f6a6f35 commit c7576cb

File tree

5 files changed

+7
-2
lines changed

5 files changed

+7
-2
lines changed

libcxx/test/libcxx/transitive_includes.sh.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ import re
5252
# the file and run this test.
5353
# Note that this needs to be done for all supported language versions of libc++:
5454
# for std in c++03 c++11 c++14 c++17 c++20 c++2b; do <build>/bin/llvm-lit --param std=$std ${path_to_this_file}; done
55-
regenerate_expected_results = True
55+
regenerate_expected_results = False
5656
# Used because the sequence of tokens RUN : can't appear anywhere or it'll confuse Lit.
5757
RUN = "RUN"
5858
@@ -560,5 +560,6 @@ END-SCRIPT
560560
#if defined(TEST_140)
561561
#include <ext/hash_set>
562562
#endif
563-
// RUN: %{python} %S/transitive_includes_to_csv.py %t > %S/transitive_includes/%{cxx_std}.csv
563+
// RUN: %{python} %S/transitive_includes_to_csv.py %t > %t/transitive_includes.csv
564+
// RUN: diff -w %S/transitive_includes/%{cxx_std}.csv %t/transitive_includes.csv
564565
// GENERATED-MARKER

libcxx/test/libcxx/transitive_includes/cxx03.csv

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ charconv iosfwd
107107
charconv limits
108108
charconv type_traits
109109
chrono compare
110+
chrono cstdint
110111
chrono ctime
111112
chrono limits
112113
chrono ratio

libcxx/test/libcxx/transitive_includes/cxx11.csv

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ charconv iosfwd
107107
charconv limits
108108
charconv type_traits
109109
chrono compare
110+
chrono cstdint
110111
chrono ctime
111112
chrono limits
112113
chrono ratio

libcxx/test/libcxx/transitive_includes/cxx14.csv

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ charconv iosfwd
107107
charconv limits
108108
charconv type_traits
109109
chrono compare
110+
chrono cstdint
110111
chrono ctime
111112
chrono limits
112113
chrono ratio

libcxx/test/libcxx/transitive_includes/cxx17.csv

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ charconv iosfwd
107107
charconv limits
108108
charconv type_traits
109109
chrono compare
110+
chrono cstdint
110111
chrono ctime
111112
chrono limits
112113
chrono ratio

0 commit comments

Comments
 (0)