Removed test runner, because SDL is needed

This commit is contained in:
2022-11-26 16:38:44 +00:00
parent 5b4f706426
commit f132ca6937
3 changed files with 2 additions and 25 deletions

View File

@@ -1,21 +0,0 @@
name: Basic Tests
on:
push:
branches: [ "main", "dev" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: clone submodules
run: git submodule update --init --recursive
- name: install valgrind
run: sudo apt install valgrind
- name: make test
run: make test

View File

@@ -5,8 +5,6 @@
#include "literal_dictionary.h" #include "literal_dictionary.h"
#include "interpreter.h" #include "interpreter.h"
#include "core_common.h"
#define OPAQUE_TAG_ENGINE_NODE 1 #define OPAQUE_TAG_ENGINE_NODE 1
//forward declare //forward declare
@@ -16,7 +14,7 @@ typedef void (*EngineNodeCallback)(void*);
//the node object, which forms a tree //the node object, which forms a tree
typedef struct _engineNode { typedef struct _engineNode {
//function for releasing memory //function for releasing memory
EngineNodeCallback freeMemory; EngineNodeCallback freeMemory; //TODO: remove this, not needed
//toy functions, stored in a dict for flexibility //toy functions, stored in a dict for flexibility
LiteralDictionary* functions; LiteralDictionary* functions;

View File

@@ -34,7 +34,7 @@ int main() {
initEngineNode(node, &interpreter, tb, size); initEngineNode(node, &interpreter, tb, size);
Literal nodeLiteral = TO_OPAQUE_LITERAL(node, 0); Literal nodeLiteral = TO_OPAQUE_LITERAL(node, OPAQUE_TAG_ENGINE_NODE);
//argument list to pass in the node //argument list to pass in the node
LiteralArray arguments; LiteralArray arguments;