summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Aleksander Mistewicz [Wed, 13 Jan 2016 16:25:50 +0000 (17:25 +0100)]
Add tct/build_tct.sh script to build Native TCT
Change-Id: Ic37573ec68a408a0d3e9272dfe664dfb8e006e45
Signed-off-by: Aleksander Mistewicz <a.mistewicz@samsung.com>
Aleksander Mistewicz [Wed, 13 Jan 2016 16:19:12 +0000 (17:19 +0100)]
Add gen_list() to tct/build/build.sh
Change-Id: Ied16c8acd61af35689fa66f3fc1b2818ce43dd83
Signed-off-by: Aleksander Mistewicz <a.mistewicz@samsung.com>
Aleksander Mistewicz [Thu, 17 Dec 2015 14:29:14 +0000 (15:29 +0100)]
Add tct/run_tct_chroot.sh
Syntax is: run_tct_chroot.sh $ID $TEST_REPO $RESULT_DIR
Change-Id: Id3d76f1ae8e4c2ab92ccc1363c1067e26e564c6f
Signed-off-by: Aleksander Mistewicz <a.mistewicz@samsung.com>
Aleksander Mistewicz [Thu, 17 Dec 2015 14:28:04 +0000 (15:28 +0100)]
Add tct/run/run_tct.sh
Syntax is: run_tct.sh $ID
Change-Id: I56e7b2cb28f2cc64075ccabe06ca7c7e10efc9cb
Signed-off-by: Aleksander Mistewicz <a.mistewicz@samsung.com>
Aleksander Mistewicz [Thu, 17 Dec 2015 13:32:12 +0000 (14:32 +0100)]
Add chroot functions to tct/run/run.sh
Syntax is:
create_chroot $ID
delete_chroot $ID
run_in_chroot $ID $CMD
Change-Id: Iddde4562d1897a918fe155efb91d8fe1a47a492f
Signed-off-by: Aleksander Mistewicz <a.mistewicz@samsung.com>
Aleksander Mistewicz [Thu, 17 Dec 2015 11:10:55 +0000 (12:10 +0100)]
Add testplan functions to tct/run/run.sh
Syntax is:
create_testplan $TEST_PLAN $TEST_REPO
run_testplan $TEST_PLAN $ID
Change-Id: I96b31754cc237da66ba9e6dbbaed112e8c346ea7
Signed-off-by: Aleksander Mistewicz <a.mistewicz@samsung.com>
Aleksander Mistewicz [Thu, 17 Dec 2015 10:18:25 +0000 (11:18 +0100)]
Add conf_device() to tct/conf/conf.sh
It runs install script from native TCT repo and copies files required
by TCT to the image. Modified tct/odroid_prepare_flash_conf.sh to use it
if 4th (NATIVE_TCT_REPO) parameter is specified.
Syntax is: conf_device $ID $NATIVE_TCT_REPO
This patch also adds all files required to configure device:
* tct/conf/capability.xml.example (used if tct/conf/capability.xml
is unavailable)
* tct/conf/buildinfo.xml.example (used if tct/conf/buildinfo.xml
is unavailable)
* tct/conf/configure_env.sh
environment variables used by tests
Change-Id: Icf643a0406f67de5e1a256c0f21c9a51a07d1e4d
Signed-off-by: Aleksander Mistewicz <a.mistewicz@samsung.com>
Aleksander Mistewicz [Tue, 29 Mar 2016 13:21:15 +0000 (15:21 +0200)]
Add tct/minnow_prepare_flash_conf.sh
And required configuration file:
tct/conf/ssh_config
Another configuration file in /etc/opt/testlab-major/ip_addr should be
created on testlab setup. Format is specified in the file header.
More information is available in tct/minnow_prepare_flash_conf.sh file
header and testlab-handbook.
Change-Id: Icae893512636ea8206b12bba7b6898cbf280f8ba
Signed-off-by: Aleksander Mistewicz <a.mistewicz@samsung.com>
Aleksander Mistewicz [Fri, 18 Mar 2016 15:07:03 +0000 (16:07 +0100)]
Add tct/resource_locking.sh
Change-Id: I9526afee6ca0776fe32960dba9fa2ee522742909
Signed-off-by: Aleksander Mistewicz <a.mistewicz@samsung.com>
Aleksander Mistewicz [Thu, 17 Dec 2015 12:12:29 +0000 (13:12 +0100)]
Add tct/odroid_prepare_flash_conf.sh
GNU version of sed is required to remove colouring from the output.
tee is required to print systemctl --state=failed output to stdout
and result file.
Syntax is: odroid_prepare_flash_conf.sh $CUM $BOOT_IMAGE $IMAGE
Change-Id: Icdda5a2367a69977ba38f9158074f0b052e8879f
Signed-off-by: Aleksander Mistewicz <a.mistewicz@samsung.com>
Aleksander Mistewicz [Mon, 28 Dec 2015 10:53:14 +0000 (11:53 +0100)]
Add mounting functions to tct/prepare/prepare.sh
Syntax is:
mount_image $IMAGE $MOUNTPOINT
unmount_image $MOUNTPOINT
Change-Id: I3d4c6f251d2c1bfa73cfee19dc6bb1cf5ecb8f1e
Signed-off-by: Aleksander Mistewicz <a.mistewicz@samsung.com>
Aleksander Mistewicz [Wed, 27 Apr 2016 14:25:46 +0000 (16:25 +0200)]
Restart sdmux on card reader failure in uuid2dev
When card reader fails to communicate with a testserver sdmux must be
restarted. It is done by switching its state to device and then intializing
what should cut the power off the card reader.
Change-Id: Ibcdfc8c651b294fa0d97218372a5676bde4c25b6
Signed-off-by: Aleksander Mistewicz <a.mistewicz@samsung.com>
Aleksander Mistewicz [Thu, 17 Dec 2015 10:40:01 +0000 (11:40 +0100)]
Add sd-mux-ctrl functions to tct/flash/flash.sh
Syntax is:
switch2device $SDMUX
switch2testserver $SDMUX
restart_device $SDMUX
change_id $SDMUX $NEWID
sdmux_init $SDMUX
Change-Id: I57f9d94ac81fb4b6eca00c257c308d84c0a6940b
Signed-off-by: Aleksander Mistewicz <a.mistewicz@samsung.com>
Aleksander Mistewicz [Tue, 15 Dec 2015 11:20:53 +0000 (12:20 +0100)]
Add unpack_image() to tct/prepare/prepare.sh
Change-Id: Ic738cc7ec486a4d565d26feeead6c419e424cac5
Signed-off-by: Aleksander Mistewicz <a.mistewicz@samsung.com>
Aleksander Mistewicz [Tue, 15 Dec 2015 10:51:21 +0000 (11:51 +0100)]
Add install_iserial() to tct/prepare/prepare.sh
More information available in tct/prepare/iserial.sh file header.
This patch also adds all files required to set up iSerial:
* tct/prepare/iserial.sh
* tct/prepare/iserial.service
Change-Id: I36ba999b0d576ae93a060c09b92e78e8ab42a06f
Signed-off-by: Aleksander Mistewicz <a.mistewicz@samsung.com>
Aleksander Mistewicz [Tue, 15 Dec 2015 10:17:13 +0000 (11:17 +0100)]
Add UUID functions to tct/flash/flash.sh
Function uuid2dev() converts UUID stored in $FILE
to corresponding /dev/sd*.
Syntax is:
* uuid2dev $FILE
* change_uuid $FILE $DEV_SDCARD
Change-Id: I5257c5ce888c441ba882fc65dd84a83d6c9e0317
Signed-off-by: Aleksander Mistewicz <a.mistewicz@samsung.com>
Aleksander Mistewicz [Mon, 14 Dec 2015 14:07:43 +0000 (15:07 +0100)]
Add tct/flash/flash_dd.sh script
It flashes SD card with images available in a directory it is
invoked in using dd. For more information read file header.
SD card should be prepared using script mkpart.sh available at:
https://wiki.tizen.org/wiki/Quick_guide_for_odroid#Fuse_bootloader_image
Example: ./flash_dd.sh /dev/sdb
Flashes as follows:
* boot.img to /dev/sdb1
* rootfs.img to /dev/sdb2
* system-data.img to /dev/sdb3
* user.img to /dev/sdb5
* modules.img to /dev/sdb6
Change-Id: I2d5b72cf4d2079632cbd700dd5749260782868b8
Signed-off-by: Aleksander Mistewicz <a.mistewicz@samsung.com>
Aleksander Mistewicz [Mon, 14 Dec 2015 13:59:11 +0000 (14:59 +0100)]
Add die() to tct/common.sh
This function takes up to two arguments:
1. error message
2. exit code (default: 1)
Example: test -n "$1" || die "No arguments!" 5
If variable $1 is not set, "No arguments!" will be printed on stderr
and script in which it was invoked will exit with exit code equal to 5.
Change-Id: I7993d1ab3be9025853f50d86c7dc5bc120ecec7e
Signed-off-by: Aleksander Mistewicz <a.mistewicz@samsung.com>
Aleksander Mistewicz [Fri, 13 May 2016 12:05:42 +0000 (14:05 +0200)]
Add LICENSE file
Change-Id: I7661860b9e7a059f14faabfb96b7c0da9ac0c1c4
Signed-off-by: Aleksander Mistewicz <a.mistewicz@samsung.com>
Aleksander Mistewicz [Mon, 14 Dec 2015 13:36:23 +0000 (14:36 +0100)]
Initial empty repository
Change-Id: I1a90867fbe3517ba2f13a4426fe2f0076aea1a42