Skip to content

Commit

Permalink
Merge pull request #481 from JrGoodle/remove-llvm
Browse files Browse the repository at this point in the history
Remove llvm example and tests
  • Loading branch information
JrGoodle committed May 14, 2020
2 parents 6258aa3 + 21b8b4e commit d23c957
Show file tree
Hide file tree
Showing 26 changed files with 133 additions and 551 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,6 @@ jobs:
- run:
name: upload code coverage results
command: |
coverage combine examples/cats examples/llvm-projects examples/swift-projects examples/misc
coverage combine examples/cats examples/swift-projects examples/misc
aws s3 cp .coverage "s3://clowder-coverage/coverage/circleci/$CIRCLE_BUILD_NUM/"
codecov -X gcov
14 changes: 1 addition & 13 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,7 @@ examples/cats/mu
examples/cats/duke
examples/cats/polkabot
examples/cats/videos

examples/llvm-projects/cached
examples/llvm-projects/clowder
examples/llvm-projects/.clowder
examples/llvm-projects/clowder.yaml
examples/llvm-projects/peru.yaml
examples/llvm-projects/k*
examples/llvm-projects/l*
examples/llvm-projects/o*
examples/llvm-projects/p*
examples/llvm-projects/t*
examples/llvm-projects/v*
examples/llvm-projects/z*
examples/cats/jrgoodle

examples/swift-projects/cached
examples/swift-projects/clowder
Expand Down
2 changes: 0 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@ jobs:
- env: TARGET="parallel"
python: 3.7
script: clowder-test -c parallel
# - env: TARGET="llvm"
# script: clowder-test -c llvm all
# - env: TARGET="swift"
# script: clowder-test -c swift all

Expand Down
1 change: 0 additions & 1 deletion clowder_test/clowder_test/cli/base_controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ def all(self) -> None:

scripts = [
'./test_example_cats.sh',
'./test_example_llvm.sh',
'./test_example_swift.sh',
'./test_example_misc.sh'
]
Expand Down
67 changes: 0 additions & 67 deletions clowder_test/clowder_test/cli/llvm_controller.py

This file was deleted.

2 changes: 0 additions & 2 deletions clowder_test/clowder_test/clowder_test_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
from clowder_test import ROOT_DIR
from clowder_test.cli.base_controller import BaseController
from clowder_test.cli.cats_controller import CatsController
from clowder_test.cli.llvm_controller import LLVMController
from clowder_test.cli.misc_controller import MiscController
from clowder_test.cli.swift_controller import SwiftController
from clowder_test.execute import execute_command
Expand All @@ -37,7 +36,6 @@ class Meta:
handlers = [
BaseController,
CatsController,
LLVMController,
MiscController,
SwiftController
]
Expand Down
14 changes: 0 additions & 14 deletions clowder_test/clowder_test/execute.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,20 +27,6 @@ def wrapper(*args, **kwargs):
return wrapper


def create_llvm_cache(func):
"""Create llvm cache"""

@wraps(func)
def wrapper(*args, **kwargs):
"""Wrapper"""

path = os.path.join(ROOT_DIR, 'test', 'scripts')
execute_test_command('./create_cache.sh llvm', path)
return func(*args, **kwargs)

return wrapper


def create_misc_cache(func):
"""Create misc cache"""

Expand Down
1 change: 0 additions & 1 deletion examples/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# Examples

- [cats Example](cats)
- [llvm Example](llvm-projects)
- [plugin Example](plugins)
- [swift Example](swift-projects)
- [misc Examples](misc)
29 changes: 0 additions & 29 deletions examples/llvm-projects/README.md

This file was deleted.

20 changes: 0 additions & 20 deletions examples/llvm-projects/clean.sh

This file was deleted.

10 changes: 0 additions & 10 deletions examples/llvm-projects/copy-cache.sh

This file was deleted.

15 changes: 0 additions & 15 deletions examples/llvm-projects/create-cache.sh

This file was deleted.

9 changes: 0 additions & 9 deletions examples/llvm-projects/init.sh

This file was deleted.

1 change: 0 additions & 1 deletion script/clean
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ clean_examples() {
local examples_path=$REPO_PATH/examples
echo 'Clean repo examples...'
"$examples_path/cats/clean.sh"
"$examples_path/llvm-projects/clean.sh"
"$examples_path/swift-projects/clean.sh"
"$examples_path/misc/clean.sh"
if [ -z "$TRAVIS_OS_NAME" ] && [ -z "$CIRCLECI" ]; then
Expand Down
2 changes: 1 addition & 1 deletion script/travis/after_script
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env bash

cd "$TRAVIS_BUILD_DIR" || exit 1
coverage combine examples/cats examples/llvm-projects examples/swift-projects
coverage combine examples/cats examples/swift-projects
codecov
./cc-test-reporter format-coverage --output "coverage/codeclimate.$TRAVIS_JOB_NUMBER.json"
mv .coverage "coverage/.coverage.$TRAVIS_OS_NAME.$TARGET"
Expand Down
5 changes: 0 additions & 5 deletions test/scripts/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,6 @@
- Test all clowder commands
- Test submodules

## [test_example_llvm.sh](test_example_llvm.sh)

- Test forks
- Test depth option

## [test_example_swift.sh](test_example_swift.sh)

- Test forks
Expand Down
3 changes: 0 additions & 3 deletions test/scripts/create_cache.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@ case "$1" in
'cats')
"$CATS_EXAMPLE_DIR/create-cache.sh" || exit 1
;;
'llvm')
"$LLVM_EXAMPLE_DIR/create-cache.sh" || exit 1
;;
'misc')
"$MISC_EXAMPLE_DIR/create-cache.sh" || exit 1
;;
Expand Down
57 changes: 0 additions & 57 deletions test/scripts/llvm/forks.sh

This file was deleted.

0 comments on commit d23c957

Please sign in to comment.