/developtools/integration_verification/tools/fotff/pkg/dayu200/ |
H A D | flash.go | 65 if err := utils.ExecContext(ctx, m.FlashTool, "-s", locationID, "UL", filepath.Join(m.Workspace, pkg, "MiniLoaderAll.bin"), "-noreset"); err != nil { 71 if err := utils.ExecContext(ctx, m.FlashTool, "-s", locationID, "UL", filepath.Join(m.Workspace, pkg, "MiniLoaderAll.bin"), "-noreset"); err != nil { 80 if err := utils.ExecContext(ctx, m.FlashTool, "-s", locationID, "DI", "-p", filepath.Join(m.Workspace, pkg, "parameter.txt")); err != nil { 88 if err := utils.ExecContext(ctx, m.FlashTool, "-s", locationID, "DI", "-uboot", filepath.Join(m.Workspace, pkg, "uboot.img"), filepath.Join(m.Workspace, pkg, "parameter.txt")); err != nil { 97 if _, err := os.Stat(filepath.Join(m.Workspace, pkg, part+".img")); err != nil { 104 if err := utils.ExecContext(ctx, m.FlashTool, "-s", locationID, "DI", "-"+part, filepath.Join(m.Workspace, pkg, part+".img"), filepath.Join(m.Workspace, pkg, "parameter.txt")); err != nil { 110 if err := utils.ExecContext(ctx, m.FlashTool, "-s", locationID, "DI", "-"+part, filepath.Join(m.Workspace, pkg, part+".img"), filepath.Join( [all...] |
/developtools/integration_verification/tools/fotff/utils/ |
H A D | runtime.go | 38 runtimeCache.LoadFile(filepath.Join(runtimeDir, "fotff.cache")) 47 return runtimeCache.SaveFile(filepath.Join(runtimeDir, "fotff.cache")) 51 return os.WriteFile(filepath.Join(runtimeDir, name), data, 0640) 55 return os.ReadFile(filepath.Join(runtimeDir, name))
|
H A D | log.go | 64 file := filepath.Join("logs", pkg+".log") 82 stdout := filepath.Join("logs", fmt.Sprintf("%s_stdout.log", pkg))
|
/developtools/integration_verification/tools/fotff/tester/smoke/ |
H A D | smoke.go | 63 if err := os.MkdirAll(filepath.Join(t.SavePath, reportDir), 0755); err != nil { 66 args := []string{t.Py, "--config", t.Config, "--answer_path", t.AnswerPath, "--save_path", filepath.Join(t.SavePath, reportDir), "--tools_path", t.ToolsPath} 82 if err := os.MkdirAll(filepath.Join(t.SavePath, reportDir), 0755); err != nil { 85 args := []string{t.Py, "--config", t.Config, "--answer_path", t.AnswerPath, "--save_path", filepath.Join(t.SavePath, reportDir), "--tools_path", t.ToolsPath, "--test_num", testCase} 109 if err := os.MkdirAll(filepath.Join(t.SavePath, reportDir), 0755); err != nil { 112 args := []string{t.Py, "--config", t.Config, "--answer_path", t.AnswerPath, "--save_path", filepath.Join(t.SavePath, reportDir), "--tools_path", t.ToolsPath, "--test_num", strings.Join(testcases, " ")} 127 data, err := os.ReadFile(filepath.Join(t.SavePath, reportDir, "result.json"))
|
/developtools/integration_verification/tools/fotff/pkg/gitee_common/ |
H A D | common.go | 65 path := filepath.Join(m.Workspace, e.Name()) 89 if err := os.RemoveAll(filepath.Join(path, e.Name())); err != nil { 90 logrus.Errorf("remove %s fail: %v", filepath.Join(path, e.Name()), err) 123 data, err := os.ReadFile(filepath.Join(m.Workspace, pkg, "__last_issue__")) 140 dir := filepath.Join(m.Workspace, dirName) 144 logrus.Infof("extracting %s to %s...", filepath.Join(m.ArchiveDir, newFile), dir) 145 if err := ex.Extract(filepath.Join(m.ArchiveDir, newFile), dir); err != nil { 152 return filepath.Join(m.Workspace, pkg)
|
H A D | steps_ci.go | 135 if err := os.MkdirAll(filepath.Join(m.Workspace, tag.Id), 0750); err != nil { 144 if err := os.WriteFile(filepath.Join(m.Workspace, tag.Id, "__last_issue__"), []byte(fmt.Sprintf("%v", issues)), 0640); err != nil { 151 err = os.WriteFile(filepath.Join(m.Workspace, tag.Id, "manifest_tag.xml"), resp, 0640)
|
H A D | build.go | 58 if _, err := os.Stat(filepath.Join(m.Workspace, config.Pkg, imgName)); err != nil { 76 fmt.Sprintf("%s/.repo/manifest.xml", server.WorkSpace), filepath.Join(m.Workspace, config.Pkg, "manifest_tag.xml")); err != nil { 102 fmt.Sprintf("%s/%s", server.WorkSpace, f), filepath.Join(m.Workspace, config.Pkg, imgName)); err != nil {
|
H A D | steps_gitee.go | 71 baseManifest, err := vcs.ParseManifestFile(filepath.Join(m.Workspace, from, "manifest_tag.xml")) 86 m1, err := vcs.ParseManifestFile(filepath.Join(m.Workspace, from, "manifest_tag.xml")) 90 m2, err := vcs.ParseManifestFile(filepath.Join(m.Workspace, to, "manifest_tag.xml")) 356 if err := os.MkdirAll(filepath.Join(m.Workspace, md5sum), 0750); err != nil { 359 if err := os.WriteFile(filepath.Join(m.Workspace, md5sum, "__last_issue__"), []byte(fmt.Sprintf("%v", step.IssueURLs)), 0640); err != nil { 362 err = newManifest.WriteFile(filepath.Join(m.Workspace, md5sum, "manifest_tag.xml"))
|
H A D | get_newer_ci.go | 132 f, err := os.Create(filepath.Join(m.ArchiveDir, filepath.Base(url)))
|
/developtools/profiler/device/plugins/ftrace_plugin/include/ |
H A D | string_utils.h | 28 static std::string Join(const std::vector<std::string>& strs, const std::string& sep);
|
/developtools/integration_verification/tools/fotff/tester/xdevice/ |
H A D | xdevice.go | 124 args := []string{"-m", "xdevice", "run", "-l", strings.Join(testcases, ";"), "-c", t.Config, "-tcpath", t.TestCasesPath, "-respath", t.ResourcePath, "-rp", reportDir} 139 data, err := os.ReadFile(filepath.Join("reports", reportDir, "summary_report.xml"))
|
/developtools/profiler/device/plugins/ftrace_plugin/test/unittest/ |
H A D | string_utils_test.cpp | 223 * @tc.desc: test StringUtils::Join with normal input. 235 EXPECT_EQ(StringUtils::Join(parts, " "), joined); in HWTEST_F() 240 * @tc.desc: test StringUtils::Join with random input. 256 EXPECT_EQ(StringUtils::Join(parts, " "), joined); in HWTEST_F()
|
/developtools/profiler/device/plugins/ftrace_plugin/src/ |
H A D | string_utils.cpp | 63 std::string StringUtils::Join(const std::vector<std::string>& strs, const std::string& sep) in Join() function in StringUtils
|
/developtools/integration_verification/tools/fotff/tester/common/ |
H A D | common.go | 128 resultFile := filepath.Join(t.ResultPath, t.ResultFile)
|