Skip to content

Commit 31e9490

Browse files
committed
debug2
1 parent aab2a71 commit 31e9490

3 files changed

Lines changed: 14 additions & 4 deletions

File tree

.github/workflows/ci-debug-macos-arm64.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ jobs:
107107
key: xrepo-${{ runner.os }}-${{ matrix.arch }}-${{ hashFiles('xmake/vars.lua', 'lolly/xmake.lua', 'moebius/xmake.lua') }}
108108

109109
- name: config
110-
run: xmake config --policies=build.ccache -o ${{ runner.workspace }}/build -m releasedbg --loro=yes --qt_frontend=no --cli_frontend=yes --yes
110+
run: xmake config --policies=build.ccache -o ${{ runner.workspace }}/build -m releasedbg --loro=yes --qt_frontend=no --cli_frontend=yes --pdfhummus=no --yes
111111
- name: build moebius
112112
run: xmake build --yes -vD libmoebius
113113
- name: test moebius

moebius/tests/Data/loro_tmu_test.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ ensure_labels () {
3434
static string
3535
resolve_fixture_dir () {
3636
const char* cands[]= {
37-
"../../../../TeXmacs/tests/tmu/",
37+
"../../../TeXmacs/tests/tmu/",
3838
};
3939
int n= sizeof (cands) / sizeof (cands[0]);
4040
for (int i= 0; i < n; i++) {

moebius/xmake.lua

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -179,8 +179,18 @@ task("test-with-log")
179179
print("TEST FAILED - DUMPING TEST LOGS")
180180
print("========================================")
181181

182-
local stdout_logs = os.files("build/.gens/**.stdout.log")
183-
local stderr_logs = os.files("build/.gens/**.errors.log")
182+
local builddir = get_config("builddir")
183+
if not builddir then
184+
builddir = path.join(os.projectdir(), "build")
185+
end
186+
print("builddir: " .. builddir)
187+
188+
local stdout_logs = os.files(
189+
path.join(builddir, ".gens/**.stdout.log")
190+
)
191+
local stderr_logs = os.files(
192+
path.join(builddir, ".gens/**.errors.log")
193+
)
184194

185195
for _, file in ipairs(stdout_logs) do
186196
print("")

0 commit comments

Comments
 (0)