/src/usr.bin/make/unit-tests/ |
cond-func-commands.mk | 1 # $NetBSD: cond-func-commands.mk,v 1.6 2025/01/10 23:00:38 rillig Exp $ 3 # Tests for the commands() function in .if conditions. 8 # have commands. Sounds obvious, but good to know that it is really so. 9 .if commands(target) 15 # Now the target exists, but it still has no commands. 16 .if commands(target) 23 # Even after the comment, the target still has no commands. 24 .if commands(target) 31 # Finally the target has commands. 32 .if !commands(target [all...] |
opt-no-action.mk | 3 # Tests for the -n command line option, which runs almost no commands. 5 # Only commands that are in a .MAKE target or prefixed by '+' are run. 16 # Both of these commands are printed, but only the '+' command is run. 21 # Both of these commands are printed, but only the '+' command is run. 26 # None of these commands is printed, but both are run, because this target 32 # Both of these commands are printed, but only the '+' command is run.
|
sh-multi-line.mk | 3 # Tests for multi-line shell commands, to ensure that the line breaks
|
depsrc-silent.mk | 4 # which hides the commands, no matter whether they are prefixed with 7 # Without the .SILENT, the commands 'echo one' and 'echo two' would be
|
deptgt-default.mk | 4 # attaches its associated commands to all targets that don't specify any way 11 has-commands: .PHONY
|
deptgt-end-jobs.mk | 37 # The deferred commands are run in the order '.END .BEGIN all'. 41 # At the point where the commands of a node with deferred commands are run, 42 # the deferred commands are appended to the commands of the .END node. 44 # deferred commands of the .END node itself are not appended to itself. 45 # Instead, the deferred commands of the .END node are run as if they were 46 # immediate commands.
|
deptgt-end.mk | 36 # The deferred commands are run in the order '.END .BEGIN all'. 40 # At the point where the commands of a node with deferred commands are run, 41 # the deferred commands are appended to the commands of the .END node. 43 # deferred commands of the .END node itself are not appended to itself. 44 # Instead, the deferred commands of the .END node are run as if they were 45 # immediate commands.
|
opt-debug-x-trace.mk | 3 # Tests for the -dx command line option, which runs shell commands with 4 # the -x option, thereby printing the actual commands as they are
|
sh-single-line.mk | 3 # Tests for running single-line shell commands. 5 # In jobs mode, the shell commands are combined into a single shell 6 # program, as described in the manual page, section "Shell Commands",
|
depsrc-meta.exp | 1 Skipping meta for actual-test: no commands
|
deptgt-interrupt.mk | 4 # collects commands to be run when make is interrupted while building another
|
sh.mk | 3 # Tests for running shell commands from the targets, or from the != variable
|
shell-custom.mk | 3 # Tests for using a custom shell for running the commands.
|
shell-sh.mk | 3 # Tests for using a bourne shell for running the commands.
|
deptgt-begin.mk | 4 # which is a container for commands that are run before any other 5 # commands from the shell lines. 11 # to directly place some commands on the '.BEGIN' target. This doesn't scale 13 # add its commands after this. 21 # One way to run commands at the beginning is to define a custom target and 22 # make the .BEGIN depend on that target. This way, the commands from the 36 # Same as with .USE, but run the commands before the main commands from the
|
opt-query.mk | 6 # None of the commands in the targets are run, not even those that are 13 # commands Ensures that none of the targets is made. 28 . for target in commands 30 @${MAKE} -r -f ${MAKEFILE} -q ${mode:Mjobs:%=-j1} ${target} PART=commands \ 59 .elif ${PART} == "commands" 65 # None of these commands are run. 70 # None of these commands are run. 71 commands: target 74 # The exit status 1 is because the "commands" target has to be made, that is,
|
sh-dots.mk | 4 # commands below it but appends them to the list of commands that are run 12 # commands are run separately from the main commands. 29 ... # Run the below commands later
|
depsrc-usebefore-double-colon.mk | 8 # The dependency operator :: allows commands to be added later to the same 23 # At this point, the commands from the .USEBEFORE targets are copied to 28 # The commands had been copied in the previous line already.
|
deptgt-ignore.mk | 7 # '-j1', all commands for a single target are bundled into a single shell 26 # Even though the command 'false' in the middle fails, the remaining commands 28 # on the target with the ignored commands are made.
|
opt-debug-loud.mk | 3 # Tests for the -dl command line option, which prints the commands before 6 # for shell commands. 11 # The -dl command line option does not affect commands that are run when
|
dep-duplicate.mk | 3 # Test for a target whose commands are defined twice. This generates a 4 # warning, not an error, so ensure that the correct commands are kept. 9 # the first commands section was included by its relative path.
|
/src/sys/arch/i386/stand/lib/ |
menuutils.c | 53 for (i = 0; commands[i].c_name != NULL; i++) { 54 if (strcmp(arg, commands[i].c_name) == 0) { 55 (*commands[i].c_fn)(options);
|
/src/sys/stand/efiboot/ |
prompt.c | 138 for (i = 0; commands[i].c_name != NULL; i++) { 139 if (strcmp(arg, commands[i].c_name) == 0) { 140 (*commands[i].c_fn)(options);
|
/src/usr.bin/sdpquery/ |
sdpquery.c | 66 } commands[] = { variable in typeref:struct:command[] 143 for (cmd = commands ; cmd->command != NULL; cmd++) { 172 "Commands:\n"); 174 for (cmd = commands ; cmd->command != NULL ; cmd++)
|
/src/tests/lib/libcurses/slave/ |
Makefile | 12 SRCS= slave.c commands.c curses_commands.c
|