Skip to content

Commit 6b75055

Browse files
committed
merged master into executor_rewrite branch
2 parents db7dbd2 + c02bcc5 commit 6b75055

File tree

4 files changed

+11
-1
lines changed

4 files changed

+11
-1
lines changed

.github/workflows/pull_request_ci.yml

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ on:
1313
types: [opened, synchronize]
1414
push:
1515
branches: [master]
16+
workflow_dispatch:
1617

1718
# Here is the list of jobs that this workflow will run. There is only one job.
1819
jobs:

executor/Makefile

+4
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,11 @@ LIBS=-pthread -lrt -Wall -export-dynamic -fPIC
55
SRCS = executor.c gamestate_filter.c ../logger/logger.c ../runtime_util/runtime_util.c ../shm_wrapper/shm_wrapper.c
66

77
# Python compilation definitions
8+
<<<<<<< HEAD
89
PY_VER = python3.11
10+
=======
11+
PY_VER = python3.12
12+
>>>>>>> c02bcc59add84236ca74b9652ff8e2528b2c1394
913
PY_LIB = -l$(PY_VER)
1014
CFLAGS = $(shell $(PY_VER)-config --cflags)
1115

executor/executor.c

+4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
#define PY_SSIZE_T_CLEAN
22
#include <arpa/inet.h> //for networking
33
#include <pthread.h> //for POSIX threads
4+
<<<<<<< HEAD
45
#include <python3.11/Python.h> // For Python's C API
6+
=======
7+
#include <python3.12/Python.h> // For Python's C API
8+
>>>>>>> c02bcc59add84236ca74b9652ff8e2528b2c1394
59
#include <signal.h> // Used to handle SIGTERM, SIGINT, SIGKILL
610
#include <stdint.h> //for standard int types
711
#include <stdio.h> //for i/o

tests/integration/tc_71_2.c

+2-1
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,9 @@
88
*/
99

1010
char check_output_6[] =
11-
"line 25, in teleop_main\n"
11+
" File \"/home/runner/work/runtime/runtime/tests/student_code/executor_sanity.py\", line 25, in teleop_main\n"
1212
" oops = 1 / 0\n"
13+
" ~~^~~\n"
1314
"ZeroDivisionError: division by zero\n";
1415

1516
int main() {

0 commit comments

Comments
 (0)