Skip to content

Commit 7e1bd6e

Browse files
authored
Merge branch 'main' into Add-llvm-21-support
2 parents 541711e + 0aa859b commit 7e1bd6e

File tree

4 files changed

+21
-21
lines changed

4 files changed

+21
-21
lines changed

.github/actions/Build_and_Test_cppyy/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ runs:
7878
python -m pip install --upgrade pip
7979
python -m pip install pytest
8080
python -m pip install pytest-xdist
81-
python -m pip install numba
81+
python -m pip install numba==0.61.2
8282
echo ::endgroup::
8383
echo ::group::Run complete test suite
8484
set -o pipefail

.github/workflows/main.yml

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -158,40 +158,40 @@ jobs:
158158
llvm_enable_projects: "clang"
159159
llvm_targets_to_build: "host;NVPTX"
160160
# MacOS X86 Jobs
161-
- name: osx13-x86-clang-clang-repl-21
162-
os: macos-13
161+
- name: osx15-x86-clang-clang-repl-21
162+
os: macos-15-intel
163163
compiler: clang
164164
clang-runtime: '21'
165165
cling: Off
166166
cppyy: Off
167167
llvm_enable_projects: "clang"
168168
llvm_targets_to_build: "host"
169-
- name: osx13-x86-clang-clang-repl-20
170-
os: macos-13
169+
- name: osx15-x86-clang-clang-repl-20
170+
os: macos-15-intel
171171
compiler: clang
172172
clang-runtime: '20'
173173
cling: Off
174174
cppyy: Off
175175
llvm_enable_projects: "clang"
176176
llvm_targets_to_build: "host"
177-
- name: osx13-x86-clang-clang-repl-19-cppyy
178-
os: macos-13
177+
- name: osx15-x86-clang-clang-repl-19-cppyy
178+
os: macos-15-intel
179179
compiler: clang
180180
clang-runtime: '19'
181181
cling: Off
182182
cppyy: On
183183
llvm_enable_projects: "clang"
184184
llvm_targets_to_build: "host"
185-
- name: osx13-x86-clang-clang-repl-18-cppyy
186-
os: macos-13
185+
- name: osx15-x86-clang-clang-repl-18-cppyy
186+
os: macos-15-intel
187187
compiler: clang
188188
clang-runtime: '18'
189189
cling: Off
190190
cppyy: On
191191
llvm_enable_projects: "clang"
192192
llvm_targets_to_build: "host"
193-
- name: osx13-x86-clang-clang18-cling-cppyy
194-
os: macos-13
193+
- name: osx15-x86-clang-clang18-cling-cppyy
194+
os: macos-15-intel
195195
compiler: clang
196196
clang-runtime: '18'
197197
cling: On
@@ -335,3 +335,4 @@ jobs:
335335
uses: mxschmitt/action-tmate@v3
336336
# When debugging increase to a suitable value!
337337
timeout-minutes: 30
338+

unittests/CppInterOp/FunctionReflectionTest.cpp

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2681,17 +2681,18 @@ TEST(FunctionReflectionTest, DestructArray) {
26812681
output.clear();
26822682

26832683
// deallocate since we call the destructor withFree = false
2684-
Cpp::Deallocate(scope, where, 5);
2684+
Cpp::Deallocate(scope, where, a);
26852685

26862686
// perform the same withFree=true
2687-
where = Cpp::Allocate(scope, a);
2688-
EXPECT_TRUE(where == Cpp::Construct(scope, where, a));
2687+
where = nullptr;
2688+
where = Cpp::Construct(scope, nullptr, a);
2689+
EXPECT_TRUE(where);
26892690
testing::internal::CaptureStdout();
2690-
// FIXME : This should work with the array of objects as well
2691-
// Cpp::Destruct(where, scope, true, 5);
2692-
EXPECT_TRUE(Cpp::Destruct(where, scope, true));
2691+
EXPECT_TRUE(Cpp::Destruct(where, scope, true, a));
26932692
output = testing::internal::GetCapturedStdout();
2694-
EXPECT_EQ(output, "\nDestructor Executed\n");
2693+
EXPECT_EQ(output,
2694+
"\nDestructor Executed\n\nDestructor Executed\n\nDestructor "
2695+
"Executed\n\nDestructor Executed\n\nDestructor Executed\n");
26952696
output.clear();
26962697
}
26972698

@@ -2725,9 +2726,6 @@ TEST(FunctionReflectionTest, UndoTest) {
27252726
TEST(FunctionReflectionTest, FailingTest1) {
27262727
#ifdef _WIN32
27272728
GTEST_SKIP() << "Disabled on Windows. Needs fixing.";
2728-
#endif
2729-
#ifdef EMSCRIPTEN_SHARED_LIBRARY
2730-
GTEST_SKIP() << "Test fails for Emscipten shared library builds";
27312729
#endif
27322730
Cpp::CreateInterpreter();
27332731
EXPECT_FALSE(Cpp::Declare(R"(

unittests/CppInterOp/InterpreterTest.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -379,6 +379,7 @@ TEST(InterpreterTest, MultipleInterpreter) {
379379
#ifdef _WIN32
380380
GTEST_SKIP() << "Disabled on Windows. Needs fixing.";
381381
#endif
382+
GTEST_SKIP() << "Test does not consistently pass so skipping for now";
382383
// delete all old interpreters
383384
while (Cpp::DeleteInterpreter())
384385
;

0 commit comments

Comments
 (0)