xref: /aosp_15_r20/external/cronet/net/data/verify_certificate_chain_unittest/generate-all.sh (revision 6777b5387eb2ff775bb5750e3f5d96f37fb7352b)
1#!/bin/bash
2
3# Copyright 2015 The Chromium Authors
4# Use of this source code is governed by a BSD-style license that can be
5# found in the LICENSE file.
6
7set -e
8
9for dir in */ ; do
10  cd "$dir"
11
12  if [ -f generate-chains.py ]; then
13    python3 generate-chains.py
14
15    # Cleanup temporary files.
16    rm -rf */*.pyc
17    rm -rf out/
18  fi
19
20  cd ..
21done
22