/tools/tradefederation/core/src/com/android/tradefed/command/ |
CommandFileWatcher.java | 47 public void notifyFileChanged(File cmdFile, List<String> extraArgs); 62 * @param cmdFile a {@link File} representing the command file path 64 public CommandFile(File cmdFile) { 65 if (cmdFile == null) throw new NullPointerException(); 67 this.file = cmdFile; 68 this.modTime = cmdFile.lastModified(); 77 * @param cmdFile a {@link File} representing the command file path 84 * main command file, {@code cmdFile}. 86 public CommandFile(File cmdFile, List<String> extraArgs, List<File> dependencies) { 87 if (cmdFile == null) throw new NullPointerException() [all...] |
Verify.java | 36 @Option(name = "cmdfile", description = "command file to verify") 90 for (File cmdFile : mCmdFiles) { 93 anyFailures |= !runVerify(cmdFile); 97 System.err.format("Caught exception while parsing \"%s\"\n", cmdFile); 108 * Validate the specified cmdfile 110 public boolean runVerify(File cmdFile) { 113 List<CommandFileParser.CommandLine> commands = parser.parseFile(cmdFile); 115 System.out.format("Successfully parsed %d commands from cmdfile %s\n", 116 commands.size(), cmdFile); 132 System.err.format("Failed to parse %s:\n", cmdFile); [all...] |
CommandScheduler.java | 167 // FIXME: enable this to be enabled or disabled on a per-cmdfile basis 176 @Option(name = "shutdown-on-cmdfile-error", description = [all...] |
Console.java | 468 "\tcmdfile <cmdfile.txt> Run the specified commandfile" + 472 "\tcmdfileAndExit <cmdfile.txt> Run the specified commandfile, and run " + 711 // Skip 2 tokens to get past runPattern and "cmdfile". We're guaranteed to have at 717 printLine(String.format("Attempting to run cmdfile %s with args %s", file, 722 trie.put(runRunCmdfile, RUN_PATTERN, "cmdfile", "(.*)"); 723 trie.put(runRunCmdfile, RUN_PATTERN, "cmdfile", "(.*)", null); 744 for (String cmdfile : getFlatArgs(2 /* startIdx */, args)) { 745 runCmdfile(cmdfile, new ArrayList<String>(0)); [all...] |
ICommandScheduler.java | 74 * @param cmdFile the filesystem path of comand file 80 public void addCommandFile(String cmdFile, List<String> extraArgs)
|
CommandOptions.java | 56 "command to the console. Intended for cmdfile debugging.",
|
CommandFileParser.java | 361 // Parse this cmdfile and all of its dependencies.
|
/tools/tradefederation/core/tests/src/com/android/tradefed/command/ |
VerifyTest.java | 67 File cmdFile = extractTestCmdFile(name); 69 assertTrue(mVerify.runVerify(cmdFile)); 71 FileUtil.deleteFile(cmdFile); 80 File cmdFile = extractTestCmdFile(name); 82 assertFalse(mVerify.runVerify(cmdFile)); 84 FileUtil.deleteFile(cmdFile);
|
CommandFileWatcherTest.java | 56 final File cmdFile = new ModFile("/a/path/too/far", 1, 2); 57 mWatcher.addCmdFile(cmdFile, EMPTY_ARGS, EMPTY_DEPENDENCIES); 58 mMockListener.notifyFileChanged(cmdFile, EMPTY_ARGS); 70 final File cmdFile = new ModFile("/a/path/too/far", 1, 1, 1); 71 mWatcher.addCmdFile(cmdFile, EMPTY_ARGS, EMPTY_DEPENDENCIES);
|
CommandSchedulerTest.java | 559 public List<CommandLine> parseFile(File cmdFile) { 600 public List<CommandLine> parseFile(File cmdFile) { 646 public List<CommandLine> parseFile(File cmdFile) { [all...] |
/external/autotest/client/site_tests/kernel_LTP/ |
control.kernel_tests | 15 Invokes custom ChromeOS kernel tests LTP cmdfile. 16 Runs the sequence of all tests in the LTP cmdfile.
|
control.kernel_unittests | 15 Invokes custom ChromeOS kernel unittests LTP cmdfile. 16 Runs the sequence of all tests in the LTP cmdfile.
|
kernel_LTP.py | 26 # and fsx. Finally, the test cases listed in a CMDFILE are individual 37 # within an individual CMDFILE by supplying a regex match for 44 # e.g. -for all tests in math cmdfile: 46 # -for just the float_bessel test in the math cmdfile:
|
/external/ltp/testscripts/ |
network.sh | 13 CMDFILE=${TMPDIR}/network.tests 88 rm -f $CMDFILE 91 cat ${LTPROOT}/runtest/$t >> $CMDFILE 101 cat $CMDFILE 104 echo ${LTPROOT}/bin/ltp-pan -e -l /tmp/netpan.log -S -a ltpnet -n ltpnet -f $CMDFILE 107 ${LTPROOT}/bin/ltp-pan -e -l /tmp/netpan.log -S -a ltpnet -n ltpnet -f $CMDFILE
|
runEALtests.sh | 40 cmdfile="" 51 usage: ./${0##*/} -c [-d tmpdir] [-f cmdfile ] [-i # (in Mb)] [ -l logfile ] 56 -f cmdfile Execute user defined list of testcases. 94 cmdfile=$OPTARG;; 187 if [ -z $cmdfile ] 191 cat $cmdfile > ${TMP}/alltests
|
/external/linux-kselftest/tools/testing/selftests/vm/ |
compaction_test.c | 29 FILE *cmdfile = popen(cmd, "r"); local 31 if (!(fgets(buffer, sizeof(buffer), cmdfile))) { 36 pclose(cmdfile); 40 cmdfile = popen(cmd, "r"); 42 if (!(fgets(buffer, sizeof(buffer), cmdfile))) { 47 pclose(cmdfile);
|
/tools/tradefederation/core/remote/src/com/android/tradefed/command/remote/ |
AddCommandFileOp.java | 48 String cmdFile = jsonData.getString(COMMAND_FILE); 54 return new AddCommandFileOp(cmdFile, argList);
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/ |
NoisyDryRunTestTest.java | 76 setter.setOptionValue("cmdfile", mFile.getAbsolutePath()); 93 setter.setOptionValue("cmdfile", mFile.getAbsolutePath()); 119 setter.setOptionValue("cmdfile", mFile.getAbsolutePath());
|
/external/ltp/ |
runltplite.sh | 107 local CMDFILE="ltplite" 241 if [ -f $CMDFILE ] || \ 242 CMDFILE="$LTPROOT/runtest/$CMDFILE" 244 cat $CMDFILE > ${TMP}/alltests || \
|
/external/autotest/client/tests/ltp/ |
ltp.py | 58 # e.g. -for all tests in math cmdfile: 60 # -for just the float_bessel test in the math cmdfile:
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/ |
NoisyDryRunTest.java | 47 @Option(name = "cmdfile", description = "The cmdfile to run noisy dry run on.")
|
/prebuilts/go/darwin-x86/src/path/filepath/ |
path_windows_test.go | 35 cmdfile = `printdir.cmd` 63 fn, data := filepath.Join(dd, cmdfile), []byte("@echo "+d+"\r\n") 77 Args: []string{`/c`, cmdfile}, 90 // unshadow cmdfile in next directory 91 err = os.Remove(filepath.Join(tmp, d, cmdfile))
|
/prebuilts/go/linux-x86/src/path/filepath/ |
path_windows_test.go | 35 cmdfile = `printdir.cmd` 63 fn, data := filepath.Join(dd, cmdfile), []byte("@echo "+d+"\r\n") 77 Args: []string{`/c`, cmdfile}, 90 // unshadow cmdfile in next directory 91 err = os.Remove(filepath.Join(tmp, d, cmdfile))
|
/tools/tradefederation/core/tests/src/com/android/tradefed/command/remote/ |
RemoteManagerFuncTest.java | 114 final String cmdFile = "cmd.txt"; 116 mMockScheduler.addCommandFile(EasyMock.eq(cmdFile), EasyMock.eq(extraArgs)); 124 mRemoteClient.sendAddCommandFile(cmdFile, extraArgs);
|
/art/test/etc/ |
run-test-jar | 771 cmdfile=$(tempfile -p "cmd-" -s "-$TEST_NAME") 772 echo "$cmdline" > $cmdfile 779 adb push $cmdfile $DEX_LOCATION/cmdline.sh 781 adb push $cmdfile $DEX_LOCATION/cmdline.sh > /dev/null 2>&1 788 rm -f $cmdfile
|