Add scouts honor escape hatch for source embedding
This commit is contained in:
@@ -18,9 +18,8 @@
|
||||
│ 02110-1301 USA │
|
||||
╚─────────────────────────────────────────────────────────────────────────────*/
|
||||
#include "libc/macros.h"
|
||||
|
||||
yoink __FILE__
|
||||
yoink testlib_runallbenchmarks
|
||||
.yoink testlib_runallbenchmarks
|
||||
.source __FILE__
|
||||
|
||||
/ Decentralized section for benchmark registration.
|
||||
/
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
│ 02110-1301 USA │
|
||||
╚─────────────────────────────────────────────────────────────────────────────*/
|
||||
#include "libc/macros.h"
|
||||
.yoink __FILE__
|
||||
.source __FILE__
|
||||
|
||||
/ Decentralized section for test combo registration.
|
||||
/
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
│ 02110-1301 USA │
|
||||
╚─────────────────────────────────────────────────────────────────────────────*/
|
||||
#include "libc/macros.h"
|
||||
.yoink __FILE__
|
||||
.source __FILE__
|
||||
|
||||
/ Decentralized section for test fixture registration.
|
||||
/
|
||||
|
||||
@@ -18,8 +18,8 @@
|
||||
│ 02110-1301 USA │
|
||||
╚─────────────────────────────────────────────────────────────────────────────*/
|
||||
#include "libc/macros.h"
|
||||
.source __FILE__
|
||||
.rodata
|
||||
.yoink __FILE__
|
||||
|
||||
/ Nontrivial NUL-terminated string test vector.
|
||||
.align 1
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
│ 02110-1301 USA │
|
||||
╚─────────────────────────────────────────────────────────────────────────────*/
|
||||
#include "libc/macros.h"
|
||||
.yoink __FILE__
|
||||
.source __FILE__
|
||||
|
||||
/ Decentralized section for test testcase registration.
|
||||
/
|
||||
|
||||
@@ -18,8 +18,8 @@
|
||||
│ 02110-1301 USA │
|
||||
╚─────────────────────────────────────────────────────────────────────────────*/
|
||||
#include "libc/macros.h"
|
||||
.source __FILE__
|
||||
.testonly
|
||||
.yoink __FILE__
|
||||
|
||||
/ Empties L1 instruction cache.
|
||||
thrashcodecache:
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
│ 02110-1301 USA │
|
||||
╚─────────────────────────────────────────────────────────────────────────────*/
|
||||
#include "libc/macros.h"
|
||||
.yoink __FILE__
|
||||
.source __FILE__
|
||||
|
||||
.text.unlikely
|
||||
testlib_showerror_assert_eq:
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
│ 02110-1301 USA │
|
||||
╚─────────────────────────────────────────────────────────────────────────────*/
|
||||
#include "libc/macros.h"
|
||||
.yoink __FILE__
|
||||
.source __FILE__
|
||||
|
||||
.text.unlikely
|
||||
testlib_showerror_assert_false:
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
│ 02110-1301 USA │
|
||||
╚─────────────────────────────────────────────────────────────────────────────*/
|
||||
#include "libc/macros.h"
|
||||
.yoink __FILE__
|
||||
.source __FILE__
|
||||
|
||||
.text.unlikely
|
||||
testlib_showerror_assert_ne:
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
│ 02110-1301 USA │
|
||||
╚─────────────────────────────────────────────────────────────────────────────*/
|
||||
#include "libc/macros.h"
|
||||
.yoink __FILE__
|
||||
.source __FILE__
|
||||
|
||||
.text.unlikely
|
||||
testlib_showerror_assert_true:
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
│ 02110-1301 USA │
|
||||
╚─────────────────────────────────────────────────────────────────────────────*/
|
||||
#include "libc/macros.h"
|
||||
.yoink __FILE__
|
||||
.source __FILE__
|
||||
|
||||
.text.unlikely
|
||||
testlib_showerror_expect_eq:
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
│ 02110-1301 USA │
|
||||
╚─────────────────────────────────────────────────────────────────────────────*/
|
||||
#include "libc/macros.h"
|
||||
.yoink __FILE__
|
||||
.source __FILE__
|
||||
|
||||
.text.unlikely
|
||||
testlib_showerror_expect_false:
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
│ 02110-1301 USA │
|
||||
╚─────────────────────────────────────────────────────────────────────────────*/
|
||||
#include "libc/macros.h"
|
||||
.yoink __FILE__
|
||||
.source __FILE__
|
||||
|
||||
.text.unlikely
|
||||
testlib_showerror_expect_ne:
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
│ 02110-1301 USA │
|
||||
╚─────────────────────────────────────────────────────────────────────────────*/
|
||||
#include "libc/macros.h"
|
||||
.yoink __FILE__
|
||||
.source __FILE__
|
||||
|
||||
.text.unlikely
|
||||
testlib_showerror_expect_true:
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
│ 02110-1301 USA │
|
||||
╚─────────────────────────────────────────────────────────────────────────────*/
|
||||
#include "libc/macros.h"
|
||||
.yoink __FILE__
|
||||
.source __FILE__
|
||||
|
||||
/ Delegates to free().
|
||||
/
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
│ 02110-1301 USA │
|
||||
╚─────────────────────────────────────────────────────────────────────────────*/
|
||||
#include "libc/macros.h"
|
||||
.yoink __FILE__
|
||||
.source __FILE__
|
||||
|
||||
.text.unlikely
|
||||
testlib_showerror_jump:
|
||||
|
||||
Reference in New Issue
Block a user