.
D 2024-03-25T17:02:20.193
J comment Enhancment/fixes\sto\ssubrun\scapability:\r\n\r\nI\stried\sto\senable\ssubrun\stests\sas\san\sitems-based\stest.\sThe\sidea\swas\sto\sdefined\sa\ssingle\stest\s"optx"\sthat\swould\sbe\san\sitems\sbased\stest\swhose\sitems\swere\sthe\ssubrun\stargets.\r\n\r\nI\sused\sthe\sfollowing\stestconfig\sdefinition:\r\n\r\n[subrun]\r\n\r\nrunwait\syes\r\n\r\ntarget\s#{getenv\sTEST_TARGET}\r\n\r\nrun-name\s#{getenv\sMT_RUNNAME}\r\n\r\n\r\n\r\n[items]\r\n\r\nTEST_TARGET\s[system\s$EXTBASE/tests/$MT_TEST_NAME/compose_targets.csh]\r\n\r\n\r\nThe\scompose_targets.csh\sscript\sjust\suses\sthe\smaster\starget\sname\s(MT_TARGET),\sremoves\sthe\s-optall\sextension,\sand\sthen\suses\sthe\slist\sof\sopt#\sdefined\sin\sthe\svariable\sMASTER_OPTS\sto\sdefine\snew\stargets\r\nEssentially:\sMT_TARGET-opt#\s(where\sMT_TARGET\shas\sbeen\sstripped\sof\sthe\s-optall\sextension)\r\n\r\nThe\sinitial\strial\sappears\sto\shave\sworked,\spartially,\sin\sinvoking\sruns.\r\nHowever,\swhen\sattempting\sto\sremove\sthe\smaster\starget\srun,\sI\sget\serrors\sduring\scleanup\srelated\sto:\r\n\r\nINFO:\s(0)\sRunning\ssub\smegatest\scommand:\smegatest\s-log\s/p/fdk/gwa/rgatlin/qa/setupqa/links/<path>/subrun-optall/test/<path>/subrun-opt3/remove-<path>_subrun-opt3-NO-RUNNAME-_.log\s-runname\sNO-RUNNAME\s-target\s<path>/subrun-opt3\s-start-dir\s/nfs/site/disks/ch_ciaf_disk007/fdk_gwa_disk002/rgatlin/fossil/megatestqa/setupqa\s-remove-runs\r\n\r\n\r\nThe\ssystem\sseems\sto\slose\strack\sof\sthe\ssubrun\sRUNNAME\sand\sTESTPATT,\sand\sthe\send\sresult\sis\sI\scannot\sclear\sthe\smaster\starget\srun\sfrom\sdashboard.\r\n\r\nas\sin\s"make\sclean\sTARGET=<master_target>\sRUNNAME=<runname>"\swill\snot\sclean\sthe\srun\sdue\sto\sthe\sabove\sfailures.\r\n\r\n\r\n\r\nI\swould\slike\sto\senable\sthe\s[subrun]\sfeature\sin\scombination\swith\s[items]\s(or\s[itemstable])\swhich\sseems\slike\sa\snatural\sextension\sof\sexisting\smegatest\sfunctionality
J foundin 1.80
J login mmgraham
J private_contact 0afb73d7b293782231fbe8f667bd97beb55cf0fc
J severity Minor
J status Open
J title Enhance\s[subrun]\sfeature\sto\swork\swith\s[items]\sbased\stests\sin\smegatest
J type Feature_Request
K 4824d554bc4dcee17459345f212887606b127fb1
U mmgraham
Z 08091850809cebfe55f64ab032ae14fd