[llvm] r289651 - Revert "[AVR] Add the very first on-target test"

Renato Golin via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 14 05:24:20 PST 2016


Author: rengolin
Date: Wed Dec 14 07:24:20 2016
New Revision: 289651

URL: http://llvm.org/viewvc/llvm-project?rev=289651&view=rev
Log:
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.

Removed:
    llvm/trunk/test/Metal/AVR/README.md
    llvm/trunk/test/Metal/AVR/basic.ll
    llvm/trunk/test/Metal/AVR/lit.local.cfg
Modified:
    llvm/trunk/utils/lit/lit/TestingConfig.py

Removed: llvm/trunk/test/Metal/AVR/README.md
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Metal/AVR/README.md?rev=289650&view=auto
==============================================================================
--- llvm/trunk/test/Metal/AVR/README.md (original)
+++ llvm/trunk/test/Metal/AVR/README.md (removed)
@@ -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.

Removed: llvm/trunk/test/Metal/AVR/basic.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Metal/AVR/basic.ll?rev=289650&view=auto
==============================================================================
--- llvm/trunk/test/Metal/AVR/basic.ll (original)
+++ llvm/trunk/test/Metal/AVR/basic.ll (removed)
@@ -1,7 +0,0 @@
-; RUN: avrlit %s
-
-; CHECK-LABEL: test
-define i16 @test() {
-  ; CHECK-NEXT: return 1357
-  ret i16 1357
-}

Removed: llvm/trunk/test/Metal/AVR/lit.local.cfg
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Metal/AVR/lit.local.cfg?rev=289650&view=auto
==============================================================================
--- llvm/trunk/test/Metal/AVR/lit.local.cfg (original)
+++ llvm/trunk/test/Metal/AVR/lit.local.cfg (removed)
@@ -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

Modified: llvm/trunk/utils/lit/lit/TestingConfig.py
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/lit/lit/TestingConfig.py?rev=289651&r1=289650&r2=289651&view=diff
==============================================================================
--- llvm/trunk/utils/lit/lit/TestingConfig.py (original)
+++ llvm/trunk/utils/lit/lit/TestingConfig.py Wed Dec 14 07:24:20 2016
@@ -25,7 +25,7 @@ class TestingConfig:
                      '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




More information about the llvm-commits mailing list