Changeset 28982 for trunk/ippTasks
- Timestamp:
- Aug 19, 2010, 11:26:51 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/ippTasks/nightly_stacks.pro (modified) (9 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTasks/nightly_stacks.pro
r28887 r28982 88 88 active true 89 89 end 90 task ns.stacks.confirm 91 active true 92 end 90 93 end 91 94 … … 155 158 $ns_stackPAGE = 0 156 159 $ns_RstackPAGE = 0 160 $ns_CstackPAGE = 0 157 161 158 162 book init nsData … … 431 435 end 432 436 437 book getword nsData $options:0 nsNmacros -var ns_Nmacros 438 for i 0 $ns_Nmacros 439 sprintf macroName "ns%dMacro" $i 440 book getword nsData $options:0 $macroName -var macroCmd 441 $macroCmd 442 end 443 433 444 if ($VERBOSE > 2) 434 445 book listbook nsData … … 486 497 ipptool2book stdout nsData -uniq -key date 487 498 499 book getword nsData $options:0 nsNmacros -var ns_Nmacros 500 for i 0 $ns_Nmacros 501 sprintf macroName "ns%dMacro" $i 502 book getword nsData $options:0 $macroName -var macroCmd 503 $macroCmd 504 end 505 488 506 if ($VERBOSE > 2) 489 507 book listbook nsData … … 541 559 ipptool2book stdout nsData -uniq -key date 542 560 561 book getword nsData $options:0 nsNmacros -var ns_Nmacros 562 for i 0 $ns_Nmacros 563 sprintf macroName "ns%dMacro" $i 564 book getword nsData $options:0 $macroName -var macroCmd 565 $macroCmd 566 end 567 543 568 if ($VERBOSE > 2) 544 569 book listbook nsData … … 562 587 # Check to see if the warps are finished and so we can make stacks. 563 588 # 589 564 590 task ns.stacks.run 565 591 host local … … 595 621 # We've queued up stacking. We're done with this date, so don't reload the page. 596 622 ipptool2book stdout nsData -uniq -key date 623 624 book getword nsData $options:0 nsNmacros -var ns_Nmacros 625 for i 0 $ns_Nmacros 626 sprintf macroName "ns%dMacro" $i 627 book getword nsData $options:0 $macroName -var macroCmd 628 $macroCmd 629 end 630 631 if ($VERBOSE > 2) 632 book listbook nsData 633 end 634 end 635 636 # locked list 637 task.exit default 638 showcommand failure 639 end 640 task.exit crash 641 showcommand crash 642 end 643 #operation times out? 644 task.exit timeout 645 showcommand timeout 646 end 647 end 648 649 # 650 # Confirm that all the stacks that can be built have been built, or at least attempted. 651 # 652 task ns.stacks.confirm 653 host local 654 periods -poll $LOADPOLL 655 periods -exec $LOADEXEC 656 periods -timeout 120 657 npending 1 658 659 task.exec 660 stdout NULL 661 stderr $LOGDIR/ns.stacks.log 662 663 book getpage nsData $ns_CstackPAGE -var date 664 book getword nsData $date nsState -var ns_STATE 665 book npages nsData -var Npages 666 667 if ($VERBOSE > 5) 668 echo "ns.stacks.confirm: " $ns_CstackPAGE $date $ns_STATE $Npages 669 end 670 671 $ns_CstackPAGE ++ 672 if ($ns_CstackPAGE >= $Npages) set ns_CstackPAGE = 0 673 option $date 674 675 if ("$ns_STATE" != "STACKING") break 676 $run = automate_stacks.pl --confirm_stacks --date $date 677 command $run 678 end 679 # success 680 task.exit 0 681 # convert 'stdout' to book format 682 book delpage nsData $options:0 683 ipptool2book stdout nsData -uniq -key date 684 685 book getword nsData $options:0 nsNmacros -var ns_Nmacros 686 for i 0 $ns_Nmacros 687 sprintf macroName "ns%dMacro" $i 688 book getword nsData $options:0 $macroName -var macroCmd 689 $macroCmd 690 end 691 597 692 if ($VERBOSE > 2) 598 693 book listbook nsData … … 650 745 ipptool2book stdout nsBurntool -uniq -key date 651 746 book setword nsData $options:0 nsState "QUEUEBURNING" 747 748 book getword nsData $options:0 nsNmacros -var ns_Nmacros 749 for i 0 $ns_Nmacros 750 sprintf macroName "ns%dMacro" $i 751 book getword nsData $options:0 $macroName -var macroCmd 752 $macroCmd 753 end 652 754 653 755 if ($VERBOSE > 2) … … 766 868 # Set the job state for success. 767 869 book setword nsBurntool $options:0 $options:2 FINISHED 870 871 book getword nsData $options:0 nsNmacros -var ns_Nmacros 872 for i 0 $ns_Nmacros 873 sprintf macroName "ns%dMacro" $i 874 book getword nsData $options:0 $macroName -var macroCmd 875 $macroCmd 876 end 877 768 878 if ($VERBOSE > 2) 769 879 book listbook nsData
Note:
See TracChangeset
for help on using the changeset viewer.
