Lines Matching refs:tmp_dir
81 self.tmp_dir = tempfile.mkdtemp()
82 print("temp directory: " + self.tmp_dir)
83 _create_file(self.tmp_dir + "/common.h", common_h)
84 _create_file(self.tmp_dir + "/a.c", a_c)
85 _create_file(self.tmp_dir + "/b.c", b_c)
86 _create_file(self.tmp_dir + "/m.c", m_c)
91 a_src = self.tmp_dir + "/a.c"
92 a_obj = self.tmp_dir + "/a.o"
93 a_lib = self.tmp_dir + "/liba.so"
94 b_src = self.tmp_dir + "/b.c"
95 b_obj = self.tmp_dir + "/b.o"
96 b_lib = self.tmp_dir + "/libb.so"
97 m_src = self.tmp_dir + "/m.c"
98 m_bin = self.tmp_dir + "/a.out"
99 m_linker_opt = " -L" + self.tmp_dir + " -la -lb"
107 self.app = Popen([m_bin], env=dict(os.environ, LD_LIBRARY_PATH=self.tmp_dir))
152 os.system("rm -rf " + self.tmp_dir)