From d3ab946f0d420f43694518278a665c8cc353922e Mon Sep 17 00:00:00 2001 From: Renato Golin Date: Wed, 14 Dec 2016 13:24:20 +0000 Subject: [PATCH] Revert "[AVR] Add the very first on-target test" This reverts commit r289648, as it's an execution test and relies on the emulator/dispatcher being available on all builders. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@289651 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Metal/AVR/README.md | 6 ------ test/Metal/AVR/basic.ll | 7 ------- test/Metal/AVR/lit.local.cfg | 8 -------- utils/lit/lit/TestingConfig.py | 2 +- 4 files changed, 1 insertion(+), 22 deletions(-) delete mode 100644 test/Metal/AVR/README.md delete mode 100644 test/Metal/AVR/basic.ll delete mode 100644 test/Metal/AVR/lit.local.cfg diff --git a/test/Metal/AVR/README.md b/test/Metal/AVR/README.md deleted file mode 100644 index 4b7625104089..000000000000 --- a/test/Metal/AVR/README.md +++ /dev/null @@ -1,6 +0,0 @@ -# AVR on-target tests - -These tests are built using LLVM and executed on real AVR hardware. - -See [avrlit](https://github.com/avr-llvm/avrlit) for instructions on how -to run them. diff --git a/test/Metal/AVR/basic.ll b/test/Metal/AVR/basic.ll deleted file mode 100644 index eb6757659111..000000000000 --- a/test/Metal/AVR/basic.ll +++ /dev/null @@ -1,7 +0,0 @@ -; RUN: avrlit %s - -; CHECK-LABEL: test -define i16 @test() { - ; CHECK-NEXT: return 1357 - ret i16 1357 -} diff --git a/test/Metal/AVR/lit.local.cfg b/test/Metal/AVR/lit.local.cfg deleted file mode 100644 index 57427d74aeae..000000000000 --- a/test/Metal/AVR/lit.local.cfg +++ /dev/null @@ -1,8 +0,0 @@ -import os - -if not 'AVR' in config.root.targets: - config.unsupported = True - -# We can only run avrlit tests if we have a board set up. -if not os.environ["AVRLIT_PORT"] or not os.environ["AVRLIT_BOARD"]: - config.unsupported = True diff --git a/utils/lit/lit/TestingConfig.py b/utils/lit/lit/TestingConfig.py index 717b53c67fbe..d2389dc0cfb9 100644 --- a/utils/lit/lit/TestingConfig.py +++ b/utils/lit/lit/TestingConfig.py @@ -25,7 +25,7 @@ def fromdefaults(litConfig): 'LD_PRELOAD', 'ASAN_OPTIONS', 'UBSAN_OPTIONS', 'LSAN_OPTIONS', 'ADB', 'ANDROID_SERIAL', 'SANITIZER_IGNORE_CVE_2016_2143', 'TMPDIR', 'TMP', 'TEMP', - 'TEMPDIR', 'AVRLIT_BOARD', 'AVRLIT_PORT'] + 'TEMPDIR'] for var in pass_vars: val = os.environ.get(var, '') # Check for empty string as some variables such as LD_PRELOAD cannot be empty