The server tree of https://code.moenext.com/nanahira/ygopro.git, branch server, commit 52c868ce071ea0f2fcb0cf39bf2fb4151d12b90c, stock: gframe/, premake5.lua, .ci/, LICENSE, and gframe/ygopro.rc + .ico (upstream keeps them in resource/ and copies them in before building). No game assets, no scripts, no ocgcore submodule: the core is ../core. The third-party sources upstream's Windows CI downloads are vendored here at the positions its premake expects, each with its premake fragment from upstream's premake/ folder inside it: lua 5.4.8, sqlite 3.53.3, libevent 2.1.13-stable (tests, samples and autotools helpers left out; the files its Windows prebuild copies into include/ left out), zlib 1.3.2 (contrib and examples left out), xz 5.8.3 (src/liblzma + src/common only), and irrlicht 1.9 from mycard at 20f86d25: include/ plus the source/Irrlicht headers and the 11 .cpp files the server's zip reader project compiles. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
51 lines
1.6 KiB
Tcl
51 lines
1.6 KiB
Tcl
# -*- tcl -*-
|
|
#
|
|
# Unless this file is named _teaish.tester.tcl.in, you are probably
|
|
# looking at an automatically generated/filtered copy and should
|
|
# probably not edit it.
|
|
#
|
|
# This is the wrapper script invoked by teaish's "make test" recipe.
|
|
# It gets passed 3 args:
|
|
#
|
|
# $1 = the DLL name, or "" if the extension has no DLL
|
|
#
|
|
# $2 = the "load prefix" for Tcl's [load] or empty if $1 is empty
|
|
#
|
|
# $3 = the /path/to/teaish/tester.tcl (test utility code)
|
|
#
|
|
@if TEAISH_VSATISFIES_CODE
|
|
@TEAISH_VSATISFIES_CODE@
|
|
@endif
|
|
if {[llength [lindex $::argv 0]] > 0} {
|
|
load [file normalize [lindex $::argv 0]] [lindex $::argv 1];
|
|
# ----^^^^^^^ needed on Haiku when argv 0 is just a filename, else
|
|
# load cannot find the file.
|
|
}
|
|
set ::argv [lassign $argv - -]
|
|
source -encoding utf-8 [lindex $::argv 0]; # teaish/tester.tcl
|
|
@if TEAISH_PKGINIT_TCL
|
|
apply {{file} {
|
|
set dir [file dirname $::argv0]
|
|
source -encoding utf-8 $file
|
|
}} [join {@TEAISH_PKGINIT_TCL@}]
|
|
@endif
|
|
@if TEAISH_TM_TCL
|
|
apply {{file} {
|
|
set dir [file dirname $::argv0]
|
|
source -encoding utf-8 $file
|
|
}} [join {@TEAISH_TM_TCL@}]
|
|
@endif
|
|
@if TEAISH_TEST_TCL
|
|
apply {{file} {
|
|
# Populate state for [tester.tcl::teaish-build-flag*]
|
|
array set ::teaish__BuildFlags @TEAISH__DEFINES_MAP@
|
|
set dir [file normalize [file dirname $file]]
|
|
#test-fail "Just testing"
|
|
source -encoding utf-8 $file
|
|
}} [join {@TEAISH_TEST_TCL@}]
|
|
@else # TEAISH_TEST_TCL
|
|
# No $TEAISH_TEST_TCL provided, so here's a default test which simply
|
|
# loads the extension.
|
|
puts {Extension @TEAISH_NAME@ @TEAISH_VERSION@ successfully loaded from @TEAISH_TESTER_TCL@}
|
|
@endif
|