Skip to content

Commit

Permalink
Remove REQUIRES: not_system-windows
Browse files Browse the repository at this point in the history
Replace it by the standard UNSUPPORTED: system-windows.
  • Loading branch information
hahnjo authored and jenkins committed Aug 14, 2023
1 parent bb45512 commit 76e87e6
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 10 deletions.
2 changes: 1 addition & 1 deletion test/Driver/CommandHistory.C
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
// RUN: %rm /tmp/__testing_cling_history
// RUN: cat %s | env --unset=CLING_NOHISTORY CLING_HISTSIZE=8 CLING_HISTFILE="/tmp/__testing_cling_history" %cling - 2>&1
// RUN: diff /tmp/__testing_cling_history "%S/Inputs/cling_history"
// REQUIRES: not_system-windows
// UNSUPPORTED: system-windows

#include <iostream>

Expand Down
2 changes: 1 addition & 1 deletion test/Driver/CurrentDirRm.C
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
// RUN: cd "%T/Remove"
// RUN: %rmdir "%T/Remove"
// RUN: %cling %s -Xclang -verify 2>&1 | FileCheck %s
// REQUIRES: not_system-windows
// UNSUPPORTED: system-windows

extern "C" {
int printf(const char*, ...);
Expand Down
2 changes: 1 addition & 1 deletion test/Driver/Gnu.C
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
// RUN: cat %s | %cling -D__STRICT_ANSI__ -std=gnu++11 -Xclang -verify 2>&1 | FileCheck %s
// RUN: cat %s | %cling -D__STRICT_ANSI__ -std=gnu++14 -Xclang -verify 2>&1 | FileCheck %s
// RUN: cat %s | %cling -D__STRICT_ANSI__ -std=gnu++1z -Xclang -verify 2>&1 | FileCheck %s
// REQUIRES: not_system-windows
// UNSUPPORTED: system-windows

#ifdef __cplusplus
extern "C" int printf(const char*, ...);
Expand Down
2 changes: 1 addition & 1 deletion test/Driver/StartupFile.C
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
//------------------------------------------------------------------------------

// RUN: cat %s | env CLING_HOME="%S/Inputs" %cling %s 2>&1 | FileCheck %s
// REQUIRES: not_system-windows
// UNSUPPORTED: system-windows

// CHECK: Startup file ran, magic # was 43210

Expand Down
2 changes: 1 addition & 1 deletion test/DynamicLibraryManager/cached_realpath.C
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// LICENSE.TXT for details.
//------------------------------------------------------------------------------

// REQUIRES: not_system-windows
// UNSUPPORTED: system-windows

// RUN: %rm -fr %t-dir
// RUN: %mkdir %t-dir
Expand Down
2 changes: 1 addition & 1 deletion test/DynamicLibraryManager/pie.C
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// LICENSE.TXT for details.
//------------------------------------------------------------------------------

// REQUIRES: not_system-windows
// UNSUPPORTED: system-windows

// RUN: mkdir -p %t-dir/lib
// RUN: %clang -shared -DCLING_EXPORT=%dllexport %S/call_lib_A.c -o%t-dir/lib/libcall_lib_A%shlibext
Expand Down
4 changes: 0 additions & 4 deletions test/lit.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -109,10 +109,6 @@ config.substitutions.append(('%shlibext', config.shlibext))
if platform.system() not in ['Windows'] or lit_config.getBashPath() != '':
config.available_features.add('shell')

# Filter-out tests not supposed to run on Windows
if platform.system() not in ['Windows']:
config.available_features.add('not_system-windows')

# ROOT adds features that "heal" some of cling's tests; need to detect
# vanilla vs cling-as-part-of-ROOT. The latter has no `lib/UserInterface/textinput/`:
if os.path.isdir(os.path.join(config.cling_src_root, 'lib', 'UserInterface', 'textinput')):
Expand Down

0 comments on commit 76e87e6

Please sign in to comment.