summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/input.output/filesystems
diff options
context:
space:
mode:
authorMarshall Clow <mclow.lists@gmail.com>2019-05-31 18:35:30 +0000
committerMarshall Clow <mclow.lists@gmail.com>2019-05-31 18:35:30 +0000
commit7fc6a55688c816f5fc1a5481ae7af25be7500356 (patch)
treecac80ad839e171aa372cd03df408af1b90125db6 /libcxx/test/std/input.output/filesystems
parent065bd45da9de57668cfaabe1b851a2e08acea215 (diff)
downloadbcm5719-llvm-7fc6a55688c816f5fc1a5481ae7af25be7500356.tar.gz
bcm5719-llvm-7fc6a55688c816f5fc1a5481ae7af25be7500356.zip
Add include for 'test_macros.h' to all the tests that were missing them. Thanks to Zoe for the (big, but simple) patch. NFC intended.
llvm-svn: 362252
Diffstat (limited to 'libcxx/test/std/input.output/filesystems')
-rw-r--r--libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.cons/default.pass.cpp2
-rw-r--r--libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.cons/default_const.pass.cpp2
-rw-r--r--libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/comparisons.pass.cpp2
-rw-r--r--libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/file_size.pass.cpp2
-rw-r--r--libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/file_type_obs.pass.cpp2
-rw-r--r--libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/hard_link_count.pass.cpp2
-rw-r--r--libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/last_write_time.pass.cpp2
-rw-r--r--libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/path.pass.cpp2
-rw-r--r--libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/status.pass.cpp2
-rw-r--r--libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/symlink_status.pass.cpp2
-rw-r--r--libcxx/test/std/input.output/filesystems/class.file_status/file_status.cons.pass.cpp2
-rw-r--r--libcxx/test/std/input.output/filesystems/class.file_status/file_status.mods.pass.cpp2
-rw-r--r--libcxx/test/std/input.output/filesystems/class.file_status/file_status.obs.pass.cpp2
-rw-r--r--libcxx/test/std/input.output/filesystems/fs.req.namespace/namespace.pass.cpp2
14 files changed, 28 insertions, 0 deletions
diff --git a/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.cons/default.pass.cpp b/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.cons/default.pass.cpp
index 1cb88a3510f..5d28de35cdf 100644
--- a/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.cons/default.pass.cpp
+++ b/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.cons/default.pass.cpp
@@ -18,6 +18,8 @@
#include <type_traits>
#include <cassert>
+#include "test_macros.h"
+
int main(int, char**) {
using namespace fs;
// Default
diff --git a/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.cons/default_const.pass.cpp b/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.cons/default_const.pass.cpp
index 0f681531a09..39fc5212b68 100644
--- a/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.cons/default_const.pass.cpp
+++ b/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.cons/default_const.pass.cpp
@@ -19,6 +19,8 @@
#include <type_traits>
#include <cassert>
+#include "test_macros.h"
+
int main(int, char**) {
using namespace fs;
// Default
diff --git a/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/comparisons.pass.cpp b/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/comparisons.pass.cpp
index 12158349ef8..2cac5470017 100644
--- a/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/comparisons.pass.cpp
+++ b/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/comparisons.pass.cpp
@@ -24,6 +24,8 @@
#include <type_traits>
#include <cassert>
+#include "test_macros.h"
+
#define CHECK_OP(Op) \
static_assert(std::is_same<decltype(ce. operator Op (ce)), bool>::value, ""); \
diff --git a/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/file_size.pass.cpp b/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/file_size.pass.cpp
index f61222bbbb0..2d9d938eb10 100644
--- a/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/file_size.pass.cpp
+++ b/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/file_size.pass.cpp
@@ -24,6 +24,8 @@
#include <iostream>
+#include "test_macros.h"
+
TEST_SUITE(directory_entry_obs_testsuite)
TEST_CASE(signatures) {
diff --git a/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/file_type_obs.pass.cpp b/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/file_type_obs.pass.cpp
index 036c8793975..0a0c5ac7a89 100644
--- a/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/file_type_obs.pass.cpp
+++ b/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/file_type_obs.pass.cpp
@@ -22,6 +22,8 @@
#include "filesystem_test_helper.hpp"
#include "rapid-cxx-test.hpp"
+#include "test_macros.h"
+
TEST_SUITE(directory_entry_obs_testsuite)
TEST_CASE(file_dne) {
diff --git a/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/hard_link_count.pass.cpp b/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/hard_link_count.pass.cpp
index e89ccf9ec53..207eb6d2d70 100644
--- a/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/hard_link_count.pass.cpp
+++ b/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/hard_link_count.pass.cpp
@@ -22,6 +22,8 @@
#include "filesystem_test_helper.hpp"
#include "rapid-cxx-test.hpp"
+#include "test_macros.h"
+
TEST_SUITE(directory_entry_obs_testsuite)
TEST_CASE(signatures) {
diff --git a/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/last_write_time.pass.cpp b/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/last_write_time.pass.cpp
index 8427fd18181..5da5528ed8b 100644
--- a/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/last_write_time.pass.cpp
+++ b/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/last_write_time.pass.cpp
@@ -22,6 +22,8 @@
#include "filesystem_test_helper.hpp"
#include "rapid-cxx-test.hpp"
+#include "test_macros.h"
+
TEST_SUITE(directory_entry_obs_testsuite)
TEST_CASE(signatures) {
diff --git a/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/path.pass.cpp b/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/path.pass.cpp
index 28bd2752ec0..fea35d398fa 100644
--- a/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/path.pass.cpp
+++ b/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/path.pass.cpp
@@ -19,6 +19,8 @@
#include <type_traits>
#include <cassert>
+#include "test_macros.h"
+
void test_path_method() {
using namespace fs;
diff --git a/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/status.pass.cpp b/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/status.pass.cpp
index 2a59cdb1822..2763c47052f 100644
--- a/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/status.pass.cpp
+++ b/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/status.pass.cpp
@@ -22,6 +22,8 @@
#include "filesystem_test_helper.hpp"
#include "rapid-cxx-test.hpp"
+#include "test_macros.h"
+
TEST_SUITE(directory_entry_status_testsuite)
TEST_CASE(test_basic) {
diff --git a/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/symlink_status.pass.cpp b/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/symlink_status.pass.cpp
index 55821af5eaf..bfa16fd57d0 100644
--- a/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/symlink_status.pass.cpp
+++ b/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/symlink_status.pass.cpp
@@ -22,6 +22,8 @@
#include "filesystem_test_helper.hpp"
#include "rapid-cxx-test.hpp"
+#include "test_macros.h"
+
TEST_SUITE(directory_entry_obs_suite)
TEST_CASE(test_signature) {
diff --git a/libcxx/test/std/input.output/filesystems/class.file_status/file_status.cons.pass.cpp b/libcxx/test/std/input.output/filesystems/class.file_status/file_status.cons.pass.cpp
index 74fdaaf2084..6d5b9e6a9e0 100644
--- a/libcxx/test/std/input.output/filesystems/class.file_status/file_status.cons.pass.cpp
+++ b/libcxx/test/std/input.output/filesystems/class.file_status/file_status.cons.pass.cpp
@@ -21,6 +21,8 @@
#include "test_convertible.hpp"
+#include "test_macros.h"
+
int main(int, char**) {
using namespace fs;
diff --git a/libcxx/test/std/input.output/filesystems/class.file_status/file_status.mods.pass.cpp b/libcxx/test/std/input.output/filesystems/class.file_status/file_status.mods.pass.cpp
index 0ee9f709ba4..3e7df00d38a 100644
--- a/libcxx/test/std/input.output/filesystems/class.file_status/file_status.mods.pass.cpp
+++ b/libcxx/test/std/input.output/filesystems/class.file_status/file_status.mods.pass.cpp
@@ -19,6 +19,8 @@
#include <type_traits>
#include <cassert>
+#include "test_macros.h"
+
int main(int, char**) {
using namespace fs;
diff --git a/libcxx/test/std/input.output/filesystems/class.file_status/file_status.obs.pass.cpp b/libcxx/test/std/input.output/filesystems/class.file_status/file_status.obs.pass.cpp
index ec4863139f4..5583d84b320 100644
--- a/libcxx/test/std/input.output/filesystems/class.file_status/file_status.obs.pass.cpp
+++ b/libcxx/test/std/input.output/filesystems/class.file_status/file_status.obs.pass.cpp
@@ -19,6 +19,8 @@
#include <type_traits>
#include <cassert>
+#include "test_macros.h"
+
int main(int, char**) {
using namespace fs;
diff --git a/libcxx/test/std/input.output/filesystems/fs.req.namespace/namespace.pass.cpp b/libcxx/test/std/input.output/filesystems/fs.req.namespace/namespace.pass.cpp
index 65864336901..d895024c534 100644
--- a/libcxx/test/std/input.output/filesystems/fs.req.namespace/namespace.pass.cpp
+++ b/libcxx/test/std/input.output/filesystems/fs.req.namespace/namespace.pass.cpp
@@ -15,6 +15,8 @@
#include <filesystem>
#include <type_traits>
+#include "test_macros.h"
+
using namespace std::filesystem;
int main(int, char**) {
OpenPOWER on IntegriCloud