CodeQL / Analyze (actions) (push) Canceled after 0s
CodeQL / Analyze (python) (push) Canceled after 0s
pre-commit / pre-commit (push) Canceled after 0s
Multi-Arch CI / setup (push) Canceled after 0s
Publish build_manylinux_x86_64 images / publish_build_manylinux_x86_64 (push) Canceled after 0s
Setup (Multi-Arch) / setup (push) Canceled after 0s
Multi-Arch CI / Linux::${{ fromJSON(needs.setup.outputs.linux_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubi10 image / publish_no_rocm_image_ubi10 (push) Canceled after 0s
Multi-Arch CI / Windows::${{ fromJSON(needs.setup.outputs.windows_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Multi-Arch CI / Manifest Diff (push) Canceled after 0s
TheRock Manifest Diff Report / Generate Manifest Diff Report (push) Canceled after 0s
Multi-Arch CI / CI Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_ocl_rt images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_rocgdb images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Unit Tests / Unit Tests :: ubuntu-24.04 (push) Canceled after 0s
Unit Tests / Unit Tests :: windows-2022 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_media (push) Canceled after 0s
Unit Tests / Unit Tests Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_openmpi (push) Canceled after 0s
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
|