Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
Pyston
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
Pyston
Commits
eb9e278f
Commit
eb9e278f
authored
Jun 12, 2015
by
Daniel Agar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
move travis-ci extra tests configuration to cmake
parent
36aa744f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
.travis.yml
.travis.yml
+1
-2
CMakeLists.txt
CMakeLists.txt
+6
-0
No files found.
.travis.yml
View file @
eb9e278f
...
...
@@ -46,7 +46,7 @@ install:
-
git config --global user.name "Your Name"
-
mkdir ~/pyston-build && cd ~/pyston-build
-
make -C $TRAVIS_BUILD_DIR llvm_up
-
cmake -GNinja -DTEST_THREADS=4 $TRAVIS_BUILD_DIR
-
cmake -GNinja -DTEST_THREADS=4
-DENABLE_EXTRA_TESTS=ON
$TRAVIS_BUILD_DIR
-
ninja libunwind ext_cpython
before_script
:
...
...
@@ -56,7 +56,6 @@ script:
-
ccache -z
-
PYSTON_RUN_ARGS=G ninja -j4 check-pyston
-
ccache -s
-
PYSTON_RUN_ARGS=G python $TRAVIS_BUILD_DIR/tools/tester.py -R ./pyston -a=-S -k -t600 --exit-code-only $TRAVIS_BUILD_DIR/test/extra
os
:
-
linux
...
...
CMakeLists.txt
View file @
eb9e278f
...
...
@@ -18,6 +18,7 @@ if(NOT ${CMAKE_BUILD_TYPE} STREQUAL "Release" AND NOT ${CMAKE_BUILD_TYPE} STREQU
endif
()
option
(
ENABLE_CCACHE
"enable caching compiler output"
ON
)
option
(
ENABLE_EXTRA_TESTS
"pyston extra tests"
OFF
)
option
(
ENABLE_GIL
"threading use GIL"
ON
)
option
(
ENABLE_GOLD
"enable the gold linker"
ON
)
option
(
ENABLE_GPERFTOOLS
"enable the google performance tools"
OFF
)
...
...
@@ -237,6 +238,11 @@ add_test(NAME pyston_defaults_integration_tests COMMAND ${PYTHON_EXE} ${CMAKE_SO
add_test
(
NAME pyston_max_compilation_tier COMMAND
${
PYTHON_EXE
}
${
CMAKE_SOURCE_DIR
}
/tools/tester.py -R ./pyston -j
${
TEST_THREADS
}
-a=-O -a=-S -k
${
CMAKE_SOURCE_DIR
}
/test/tests
)
add_test
(
NAME pyston_old_parser COMMAND
${
PYTHON_EXE
}
${
CMAKE_SOURCE_DIR
}
/tools/tester.py -a=-x -R ./pyston -j
${
TEST_THREADS
}
-a=-n -a=-S -k
${
CMAKE_SOURCE_DIR
}
/test/tests
)
if
(
ENABLE_EXTRA_TESTS
)
add_test
(
NAME extra_tests COMMAND
${
PYTHON_EXE
}
${
CMAKE_SOURCE_DIR
}
/tools/tester.py -R ./pyston -a=-S -k -t600 --exit-code-only
${
CMAKE_SOURCE_DIR
}
/test/extra
)
endif
()
# format
file
(
GLOB_RECURSE FORMAT_FILES
${
CMAKE_SOURCE_DIR
}
/src/*.h
${
CMAKE_SOURCE_DIR
}
/src/*.cpp
)
add_custom_target
(
format
${
LLVM_TOOLS_BINARY_DIR
}
/clang-format -style=file -i
${
FORMAT_FILES
}
DEPENDS clang-format WORKING_DIRECTORY
${
CMAKE_SOURCE_DIR
}
/src
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment