Skip to content

Commit

Permalink
Building and testing cling tests on osx
Browse files Browse the repository at this point in the history
  • Loading branch information
Smit1603 authored and vgvassilev committed Oct 19, 2023
1 parent 4669530 commit f5f7b56
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
7 changes: 7 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,13 @@ jobs:
cling: Off
cppyy: Off

- name: osx-clang-clang13-cling
os: macos-latest
compiler: clang
clang-runtime: '13'
cling: On
cppyy: Off

steps:
- uses: actions/checkout@v3
with:
Expand Down
6 changes: 5 additions & 1 deletion unittests/CppInterOp/InterpreterTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,11 @@ TEST(InterpreterTest, Evaluate) {
EXPECT_FALSE(HadError) ;
}

TEST(InterpreterTest, Process) {
#ifdef __APPLE__ //Fails for Cling Tests
TEST(InterpreterTest, DISABLED_Process) {
#else
TEST(InterpreterTest, Process) {
#endif
Cpp::CreateInterpreter();
EXPECT_TRUE(Cpp::Process("") == 0);
EXPECT_TRUE(Cpp::Process("int a = 12;") == 0);
Expand Down

0 comments on commit f5f7b56

Please sign in to comment.