diff options
author | android-build-team Robot <android-build-team-robot@google.com> | 2021-06-19 12:05:19 +0000 |
---|---|---|
committer | android-build-team Robot <android-build-team-robot@google.com> | 2021-06-19 12:05:19 +0000 |
commit | 46a44cbeeb2e07d1b226a35fe5e167fa36204979 (patch) | |
tree | 73936aba47fe1dc71e9cc05af9747036e935608c /deprecated/automation/clients/pwd_test.py | |
parent | b75f321fc8978b92ce3db6886ccb966768f0c7a8 (diff) | |
parent | 4e4201457e5f51a132101c611c79ccff9f713c8b (diff) | |
download | toolchain-utils-android12-mainline-media-swcodec-release.tar.gz |
Snap for 7474514 from 4e4201457e5f51a132101c611c79ccff9f713c8b to mainline-media-swcodec-releaseandroid-mainline-12.0.0_r91android-mainline-12.0.0_r75android-mainline-12.0.0_r47android-mainline-12.0.0_r30android-mainline-12.0.0_r13android-mainline-12.0.0_r120android-mainline-12.0.0_r105android12-mainline-media-swcodec-release
Change-Id: If290a0a595ded648f01319b985ec90abd49afb42
Diffstat (limited to 'deprecated/automation/clients/pwd_test.py')
-rwxr-xr-x | deprecated/automation/clients/pwd_test.py | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/deprecated/automation/clients/pwd_test.py b/deprecated/automation/clients/pwd_test.py deleted file mode 100755 index 493444d5..00000000 --- a/deprecated/automation/clients/pwd_test.py +++ /dev/null @@ -1,27 +0,0 @@ -#!/usr/bin/python2 -# -# Copyright 2010 Google Inc. All Rights Reserved. - -import pickle -import xmlrpclib - -from automation.common import job -from automation.common import job_group -from automation.common import machine - - -def Main(): - server = xmlrpclib.Server('http://localhost:8000') - - command = ['echo These following 3 lines should be the same', 'pwd', '$(pwd)', - 'echo ${PWD}'] - - pwd_job = job.Job('pwd_job', ' && '.join(command)) - pwd_job.DependsOnMachine(machine.MachineSpecification(os='linux')) - - group = job_group.JobGroup('pwd_client', [pwd_job]) - server.ExecuteJobGroup(pickle.dumps(group)) - - -if __name__ == '__main__': - Main() |