Replace outdated Tizen links with the latest ones 78/310078/3
authorzhouhao <haozhou.zhou@samsung.com>
Mon, 22 Apr 2024 06:26:22 +0000 (14:26 +0800)
committerzhouhao <haozhou.zhou@samsung.com>
Wed, 24 Apr 2024 01:49:25 +0000 (09:49 +0800)
Change-Id: I460e1abc6bc2f5820e5bc488de9f763c1c906829
Signed-off-by: zhouhao <haozhou.zhou@samsung.com>
cases/build/test_build_base_libs.case
cases/build/test_build_tizen2.4.case [deleted file]
cases/build/test_build_tizen2.4_Epoch.case [deleted file]
cases/build/test_build_tizen8.0.case [new file with mode: 0644]
cases/build/test_build_tizen8.0_Epoch.case [new file with mode: 0644]
fixtures/conf/tizen2.4.cfg [deleted file]
fixtures/conf/tizen30.cfg [deleted file]
fixtures/conf/tizen8.0.cfg [new file with mode: 0644]

index c487f6a7e04fee19d57cc2c9fe1149bb61a46eb1..bac56a38e986728278867f723caaef595f0642dd 100644 (file)
@@ -8,7 +8,7 @@
     <copy src="tools/assert" />
     <copy src="specs/fake.spec" />
     <copy src="specs/baselibs.conf" />
-    <copy src="conf/tizen30.cfg" />
+    <copy src="conf/base.cfg" />
   </fixtures>
   <steps><![CDATA[
 . assert
@@ -24,7 +24,7 @@ cd fake
 git add .
 git commit -m "Add baselibs.conf"
 cd -
-gbs -c tizen30.cfg build -A i586 --baselibs |tee log
+gbs -c base.cfg build -A i586 --baselibs |tee log
 
 test -n "`find ~/GBS-ROOT/local/repos -name "fake*i686*.rpm"`"
 test -n "`find ~/GBS-ROOT/local/repos -name "fake*armv7l*.rpm"`"
diff --git a/cases/build/test_build_tizen2.4.case b/cases/build/test_build_tizen2.4.case
deleted file mode 100644 (file)
index 843f3b3..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-<testcase>
-  <summary>test build with tizen2.4 profile</summary>
-  <fixtures>
-    <copy src="tools/create_proj" />
-    <copy src="conf/tizen2.4.cfg" />
-    <copy src="specs/fake.spec" />
-  </fixtures>
-  <steps><![CDATA[
-
-  ./create_proj fake.spec
-  export http_proxy="http://10.112.1.184:8080/"
-  export no_proxy="localhost, 10.113.136.109"
-
-  sudo /bin/rm -rf ~/GBS-ROOT/*
-
-  #First run
-  gbs -c tizen2.4.cfg build fake  -A armv7l
-
-  #second run using old chroot evn
-  sudo /bin/rm -rf ~/GBS-ROOT/local/repos
-  gbs -c tizen2.4.cfg build fake  -A armv7l
-
-]]></steps>
-</testcase>
diff --git a/cases/build/test_build_tizen2.4_Epoch.case b/cases/build/test_build_tizen2.4_Epoch.case
deleted file mode 100644 (file)
index a4a442a..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-<testcase>
-  <summary>test build with tizen2.4 profile which contains Epoch packages</summary>
-  <fixtures>
-    <copy src="tools/create_proj" />
-    <copy src="conf/tizen2.4.cfg" />
-    <copy src="specs/fake.spec" />
-  </fixtures>
-  <steps><![CDATA[
-
-  ./create_proj fake.spec
-  export http_proxy="http://10.112.1.184:8080/"
-  export no_proxy="localhost, 10.113.136.109"
-
-  sudo /bin/rm -rf ~/GBS-ROOT/*
-
-  #First run
-  gbs -c tizen2.4.cfg build fake  -A armv7l 2>&1 | tee log
-  #Check for the presence of 'downloading' fields (must have in this step)
-  test -n "`grep "downloading" log`"
-
-  #second run using old chroot evn
-  sudo /bin/rm -rf ~/GBS-ROOT/local/repos
-  gbs -c tizen2.4.cfg build fake  -A armv7l 2>&1 | tee log2
-
-  #Check for the presence of 'downloading' fields (no exist)
-  test -z "`grep "downloading" log2`"
-
-]]></steps>
-</testcase>
diff --git a/cases/build/test_build_tizen8.0.case b/cases/build/test_build_tizen8.0.case
new file mode 100644 (file)
index 0000000..435518b
--- /dev/null
@@ -0,0 +1,25 @@
+<testcase>\r
+  <summary>test build with tizen8.0 profile</summary>\r
+  <fixtures>\r
+    <copy src="tools/create_proj" />\r
+    <copy src="conf/tizen8.0.cfg" />\r
+    <copy src="specs/fake.spec" />\r
+  </fixtures>\r
+  <steps>\r
+    <![CDATA[\r
+\r
+  ./create_proj fake.spec\r
+  export http_proxy="http://10.112.1.184:8080/"\r
+  export no_proxy="localhost, 10.113.136.109"\r
+\r
+  sudo /bin/rm -rf ~/GBS-ROOT/*\r
+\r
+  #First run\r
+  gbs -c tizen8.0.cfg build fake  -A armv7l\r
+\r
+  #second run using old chroot evn\r
+  sudo /bin/rm -rf ~/GBS-ROOT/local/repos\r
+  gbs -c tizen8.0.cfg build fake  -A armv7l\r
+\r
+]]></steps>\r
+</testcase>\r
diff --git a/cases/build/test_build_tizen8.0_Epoch.case b/cases/build/test_build_tizen8.0_Epoch.case
new file mode 100644 (file)
index 0000000..c00e9d0
--- /dev/null
@@ -0,0 +1,30 @@
+<testcase>\r
+  <summary>test build with tizen8.0 profile which contains Epoch packages</summary>\r
+  <fixtures>\r
+    <copy src="tools/create_proj" />\r
+    <copy src="conf/tizen8.0.cfg" />\r
+    <copy src="specs/fake.spec" />\r
+  </fixtures>\r
+  <steps>\r
+    <![CDATA[\r
+\r
+  ./create_proj fake.spec\r
+  export http_proxy="http://10.112.1.184:8080/"\r
+  export no_proxy="localhost, 10.113.136.109"\r
+\r
+  sudo /bin/rm -rf ~/GBS-ROOT/*\r
+\r
+  #First run\r
+  gbs -c tizen8.0.cfg build fake  -A armv7l 2>&1 | tee log\r
+  #Check for the presence of 'downloading' fields (must have in this step)\r
+  test -n "`grep "downloading" log`"\r
+\r
+  #second run using old chroot evn\r
+  sudo /bin/rm -rf ~/GBS-ROOT/local/repos\r
+  gbs -c tizen8.0.cfg build fake  -A armv7l 2>&1 | tee log2\r
+\r
+  #Check for the presence of 'downloading' fields (no exist)\r
+  test -z "`grep "downloading" log2`"\r
+\r
+]]></steps>\r
+</testcase>\r
diff --git a/fixtures/conf/tizen2.4.cfg b/fixtures/conf/tizen2.4.cfg
deleted file mode 100644 (file)
index aa63eaa..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-[general]
-profile = profile.2.4
-
-[profile.2.4]
-repos = repo.base.2.4
-[repo.base.2.4]
-url = http://download.tizen.org/archive/snapshots/2.4-base/common/latest/repos/standard/packages/
-[repo.2.4]
-url = http://download.tizen.org/archive/snapshots/2.4-mobile/common/latest/repos/target-TM1/packages/
-
diff --git a/fixtures/conf/tizen30.cfg b/fixtures/conf/tizen30.cfg
deleted file mode 100644 (file)
index 935d716..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-[general]
-profile = profile.tizen_mobile
-fallback_to_native = true
-[profile.tizen_mobile]
-repos = repo.1, repo.2
-[repo.1]
-url = http://download.tizen.org/archive/releases/milestone/tizen/3.0-base/latest/repos/emulator32/packages/
-[repo.2]
-url = http://download.tizen.org/archive/releases/milestone/tizen/3.0-mobile/latest/repos/emulator32-wayland/packages/
diff --git a/fixtures/conf/tizen8.0.cfg b/fixtures/conf/tizen8.0.cfg
new file mode 100644 (file)
index 0000000..c562a1e
--- /dev/null
@@ -0,0 +1,8 @@
+[general]\r
+profile = profile.8.0\r
+\r
+[profile.8.0]\r
+repos = repo.base.8.0\r
+[repo.base.8.0]\r
+url = http://download.tizen.org/releases/milestone/TIZEN/Tizen-8.0/Tizen-8.0-Base/latest/repos/standard/packages/\r
+\r