1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00

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.

llvm-svn: 289651
This commit is contained in:
Renato Golin 2016-12-14 13:24:20 +00:00
parent 760305752a
commit 8d9c51307d
4 changed files with 1 additions and 22 deletions

View File

@ -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.

View File

@ -1,7 +0,0 @@
; RUN: avrlit %s
; CHECK-LABEL: test
define i16 @test() {
; CHECK-NEXT: return 1357
ret i16 1357
}

View File

@ -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

View File

@ -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