zig/test/standalone
Andrew Kelley 38840e2e58 build system: follow-up enhancements regarding LazyPath
* introduce LazyPath.cwd_relative variant and use it for --zig-lib-dir. closes #12685
* move overrideZigLibDir and setMainPkgPath to options fields set once
  and then never mutated.
* avoid introducing Build/util.zig
* use doc comments for deprecation notices so that they show up in
  generated documentation.
* introduce InstallArtifact.Options, accept it as a parameter to
  addInstallArtifact, and move override_dest_dir into it. Instead of
  configuring the installation via Compile step, configure the
  installation via the InstallArtifact step. In retrospect this is
  obvious.
* remove calls to pushInstalledFile in InstallArtifact. See #14943
* rewrite InstallArtifact to not incorrectly observe whether a Compile
  step has any generated outputs. InstallArtifact is meant to trigger
  output generation.
* fix child process evaluation code handling of `-fno-emit-bin`.
* don't store out_h_filename, out_ll_filename, etc., pointlessly. these
  are all just simple extensions appended to the root name.
* make emit_directory optional. It's possible to have nothing outputted,
  for example, if you're just type-checking.
* avoid passing -femit-foo/-fno-emit-foo when it is the default
* rename ConfigHeader.getTemplate to getOutput
* deprecate addOptionArtifact
* update the random number seed of Options step caching.
* avoid using `inline for` pointlessly
* avoid using `override_Dest_dir` pointlessly
* avoid emitting an executable pointlessly in test cases

Removes forceBuild and forceEmit. Let's consider these additions separately.
Nearly all of the usage sites were suspicious.
2023-07-30 11:19:32 -07:00
..
c_compiler Build.zig rename orgy (aka: #16353). Renames FileSource to LazyPath and removes functions that take literal paths instead of LazyPath. 2023-07-30 11:18:50 -07:00
cat allocgate: renamed getAllocator function to allocator 2021-11-30 23:32:47 +00:00
child_process test/standalone: reinstate std.ChildProcess tests 2023-07-25 10:57:45 -07:00
cmakedefine test: add standalone test for cmakedefine 2023-06-21 21:51:07 +02:00
coff_dwarf Rebase + two fixes. 2023-07-30 11:18:50 -07:00
compiler_rt_panic build system: follow-up enhancements regarding LazyPath 2023-07-30 11:19:32 -07:00
dep_diamond std.Build.CompileStep: remove run() and install() 2023-04-10 18:35:14 -07:00
dep_mutually_recursive std.Build.CompileStep: remove run() and install() 2023-04-10 18:35:14 -07:00
dep_recursive std.Build.CompileStep: remove run() and install() 2023-04-10 18:35:14 -07:00
dep_shared_builtin std.Build.CompileStep: remove run() and install() 2023-04-10 18:35:14 -07:00
dep_triangle std.Build.CompileStep: remove run() and install() 2023-04-10 18:35:14 -07:00
embed_generated_file build system: follow-up enhancements regarding LazyPath 2023-07-30 11:19:32 -07:00
emit_asm_and_bin build system: follow-up enhancements regarding LazyPath 2023-07-30 11:19:32 -07:00
empty_env re-enable standalone tests based on build.zig 2023-03-15 10:48:14 -07:00
extern add the new extern test to standalone tests 2023-03-15 10:48:15 -07:00
global_linkage std.Build.CompileStep: remove run() and install() 2023-04-10 18:35:14 -07:00
guess_number update guess number standalone test 2020-12-18 12:22:46 -07:00
hello_world all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
install_raw_hex std.Build: use Step.* instead of *Step 2023-05-03 20:55:29 -07:00
issue_339 build system: follow-up enhancements regarding LazyPath 2023-07-30 11:19:32 -07:00
issue_794 build system: follow-up enhancements regarding LazyPath 2023-07-30 11:19:32 -07:00
issue_5825 build system: follow-up enhancements regarding LazyPath 2023-07-30 11:19:32 -07:00
issue_8550 Build.zig rename orgy (aka: #16353). Renames FileSource to LazyPath and removes functions that take literal paths instead of LazyPath. 2023-07-30 11:18:50 -07:00
issue_9402 Added implementation for _fseeki64 and _ftelli64 from mingw-w64 9.0.0 (#9402). (#9766) 2021-09-15 13:38:00 -04:00
issue_9693 std: collect all options under one namespace 2023-01-05 02:31:29 -07:00
issue_11595 all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
issue_12471 translate-c: Don't add self-defined macros to global name table 2022-08-26 11:24:57 +03:00
issue_12588 Introduces Compile.getEmittedX() functions, drops Compile.emit_X. Resolves #14971 2023-07-30 11:18:50 -07:00
issue_12706 re-enable standalone tests based on build.zig 2023-03-15 10:48:14 -07:00
issue_13970 fix build logic due to state mutations and break the API accordingly 2023-04-11 08:42:14 -07:00
load_dynamic_library std: replace builtin.Version with SemanticVersion 2023-06-17 13:17:34 -07:00
main_pkg_path build system: follow-up enhancements regarding LazyPath 2023-07-30 11:19:32 -07:00
main_return_error all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
mix_c_files Build.zig rename orgy (aka: #16353). Renames FileSource to LazyPath and removes functions that take literal paths instead of LazyPath. 2023-07-30 11:18:50 -07:00
mix_o_files Build.zig rename orgy (aka: #16353). Renames FileSource to LazyPath and removes functions that take literal paths instead of LazyPath. 2023-07-30 11:18:50 -07:00
noreturn_call Sema: do not emit dbg_inline_end after NoReturn 2022-09-02 17:57:10 +03:00
options std.Build.CompileStep: remove run() and install() 2023-04-10 18:35:14 -07:00
pie all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
pkg_import std.Build.CompileStep: remove run() and install() 2023-04-10 18:35:14 -07:00
shared_library Build.zig rename orgy (aka: #16353). Renames FileSource to LazyPath and removes functions that take literal paths instead of LazyPath. 2023-07-30 11:18:50 -07:00
sigpipe re-enable standalone tests based on build.zig 2023-03-15 10:48:14 -07:00
stack_iterator Build.zig rename orgy (aka: #16353). Renames FileSource to LazyPath and removes functions that take literal paths instead of LazyPath. 2023-07-30 11:18:50 -07:00
static_c_lib Build.zig rename orgy (aka: #16353). Renames FileSource to LazyPath and removes functions that take literal paths instead of LazyPath. 2023-07-30 11:18:50 -07:00
strip_empty_loop build system: follow-up enhancements regarding LazyPath 2023-07-30 11:19:32 -07:00
test_runner_module_imports fix build logic due to state mutations and break the API accordingly 2023-04-11 08:42:14 -07:00
test_runner_path std.Build.CompileStep: remove run() and install() 2023-04-10 18:35:14 -07:00
use_alias Introduces Compile.getEmittedX() functions, drops Compile.emit_X. Resolves #14971 2023-07-30 11:18:50 -07:00
windows_spawn test: Fix windows_spawn tmp directory cleanup 2023-04-27 11:01:02 +03:00
zerolength_check add stand alone test to verify bulk-memory features 2023-07-10 20:05:13 +02:00
brace_expansion.zig re-enable standalone tests based on build.zig 2023-03-15 10:48:14 -07:00
http.zig std.http: fix leaked connections (#16341) 2023-07-07 20:08:19 +00:00
issue_7030.zig re-enable standalone tests based on build.zig 2023-03-15 10:48:14 -07:00