Skip to content

Commit

Permalink
Giving up on doctest include and going back to old method, remove sudo
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex-x90 committed Feb 16, 2024
1 parent f06c5b0 commit 6d027da
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ jobs:

- name: Configure dependencies
run: |
sudo apt-get update
sudo apt-get install build-essential pkg-config libx11-dev libxcursor-dev \
apt-get update
apt-get install build-essential pkg-config libx11-dev libxcursor-dev \
libxinerama-dev libgl1-mesa-dev libglu-dev libasound2-dev libpulse-dev libudev-dev libxi-dev libxrandr-dev yasm
- name: Set up Python (for SCons)
Expand Down
2 changes: 1 addition & 1 deletion SConstruct
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ env = SConscript("godot-cpp/SConstruct")
# - LINKFLAGS are for linking flags

# tweak this if you want to use different folders, or more folders, to store your source code in.
env.Prepend(CPPPATH=["doctest/","src/","tests/"])
env.Prepend(CPPPATH=["src/","tests/"])
sources = Glob("src/*.cpp")

# If non-release build, compile the test files
Expand Down
2 changes: 1 addition & 1 deletion tests/TestHeader.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#pragma once

#include <doctest/doctest.h>
#include "../doctest/doctest/doctest.h"

int doctest_run(const int, const char *const *);

0 comments on commit 6d027da

Please sign in to comment.