Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/buildbot/buildbot/test/subdir/emit.py
blob: 42d2ca9ffa8542025e913963d0b2de54cffc3a2f (plain)
1
2
3
4
5
6
7
8
9
10
11
#! /usr/bin/python

import os, sys

sys.stdout.write("this is stdout in subdir\n")
sys.stderr.write("this is stderr\n")
if os.environ.has_key("EMIT_TEST"):
    sys.stdout.write("EMIT_TEST: %s\n" % os.environ["EMIT_TEST"])
open("log1.out","wt").write("this is log1\n")
rc = int(sys.argv[1])
sys.exit(rc)