Home
last modified time | relevance | path

Searched refs:Join (Results 1 - 14 of 14) sorted by relevance

/developtools/integration_verification/tools/fotff/pkg/dayu200/
H A Dflash.go65 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 Druntime.go38 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 Dlog.go64 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 Dsmoke.go63 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 Dcommon.go65 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 Dsteps_ci.go135 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 Dbuild.go58 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 Dsteps_gitee.go71 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 Dget_newer_ci.go132 f, err := os.Create(filepath.Join(m.ArchiveDir, filepath.Base(url)))
/developtools/profiler/device/plugins/ftrace_plugin/include/
H A Dstring_utils.h28 static std::string Join(const std::vector<std::string>& strs, const std::string& sep);
/developtools/integration_verification/tools/fotff/tester/xdevice/
H A Dxdevice.go124 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 Dstring_utils_test.cpp223 * @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 Dstring_utils.cpp63 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 Dcommon.go128 resultFile := filepath.Join(t.ResultPath, t.ResultFile)

Completed in 4 milliseconds